gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17666 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r17666 - gnunet/src/core
Date: Sat, 22 Oct 2011 00:42:58 +0200

Author: grothoff
Date: 2011-10-22 00:42:58 +0200 (Sat, 22 Oct 2011)
New Revision: 17666

Modified:
   gnunet/src/core/gnunet-service-core_clients.c
   gnunet/src/core/gnunet-service-core_clients.h
   gnunet/src/core/gnunet-service-core_sessions.c
Log:
did not help

Modified: gnunet/src/core/gnunet-service-core_clients.c
===================================================================
--- gnunet/src/core/gnunet-service-core_clients.c       2011-10-21 22:39:26 UTC 
(rev 17665)
+++ gnunet/src/core/gnunet-service-core_clients.c       2011-10-21 22:42:58 UTC 
(rev 17666)
@@ -620,8 +620,7 @@
                                           const struct GNUNET_ATS_Information 
*atsi,
                                           unsigned int atsi_count,
                                           const struct GSC_TypeMap *tmap_old,
-                                          const struct GSC_TypeMap *tmap_new,
-                                          int is_new)
+                                          const struct GSC_TypeMap *tmap_new)
 {
   struct ConnectNotifyMessage *cnm;
   size_t size;
@@ -641,8 +640,6 @@
     if (tmap_old != NULL)
       old_match = GNUNET_YES;
   }
-  if (GNUNET_YES == is_new)
-    old_match = GNUNET_NO;
   if (old_match == new_match)
     return; /* no change */
   if (old_match == GNUNET_NO)
@@ -710,8 +707,7 @@
   for (c = client_head; c != NULL; c = c->next)
     GSC_CLIENTS_notify_client_about_neighbour (c, neighbour, atsi,
                                               atsi_count, 
-                                              tmap_old, tmap_new,
-                                              GNUNET_NO);
+                                              tmap_old, tmap_new);
 }
 
 

Modified: gnunet/src/core/gnunet-service-core_clients.h
===================================================================
--- gnunet/src/core/gnunet-service-core_clients.h       2011-10-21 22:39:26 UTC 
(rev 17665)
+++ gnunet/src/core/gnunet-service-core_clients.h       2011-10-21 22:42:58 UTC 
(rev 17666)
@@ -56,7 +56,6 @@
  * @param atsi_count number of entries in 'ats' array
  * @param tmap_old previous type map for the neighbour, NULL for disconnect
  * @param tmap_new updated type map for the neighbour, NULL for disconnect
- * @param is_new GNUNET_YES if this is a completely new neighbour
  */
 void
 GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
@@ -64,8 +63,7 @@
                                           const struct GNUNET_ATS_Information 
*atsi,
                                           unsigned int atsi_count,
                                           const struct GSC_TypeMap *tmap_old,
-                                          const struct GSC_TypeMap *tmap_new,
-                                          int is_new);
+                                          const struct GSC_TypeMap *tmap_new);
 
 
 /**

Modified: gnunet/src/core/gnunet-service-core_sessions.c
===================================================================
--- gnunet/src/core/gnunet-service-core_sessions.c      2011-10-21 22:39:26 UTC 
(rev 17665)
+++ gnunet/src/core/gnunet-service-core_sessions.c      2011-10-21 22:42:58 UTC 
(rev 17666)
@@ -256,8 +256,7 @@
                                             &session->peer,
                                             NULL, 0, /* FIXME: ATS!? */
                                             NULL, /* old TMAP: none */
-                                            session->tmap,
-                                            GNUNET_YES);
+                                            session->tmap);
   return GNUNET_OK;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]