aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_clients.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-21 22:42:58 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-21 22:42:58 +0000
commitf3910e0b479e7a4693d8dc5341e4c8a2769c1aaa (patch)
tree5565690f8a3c41fef3d1c6838b92f875dff6a8f6 /src/core/gnunet-service-core_clients.c
parent16b954786d5a14360c7f974f3554e041e3f32ed1 (diff)
downloadgnunet-f3910e0b479e7a4693d8dc5341e4c8a2769c1aaa.tar.gz
gnunet-f3910e0b479e7a4693d8dc5341e4c8a2769c1aaa.zip
did not help
Diffstat (limited to 'src/core/gnunet-service-core_clients.c')
-rw-r--r--src/core/gnunet-service-core_clients.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c
index ec286a888..742522369 100644
--- a/src/core/gnunet-service-core_clients.c
+++ b/src/core/gnunet-service-core_clients.c
@@ -620,8 +620,7 @@ GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
620 const struct GNUNET_ATS_Information *atsi, 620 const struct GNUNET_ATS_Information *atsi,
621 unsigned int atsi_count, 621 unsigned int atsi_count,
622 const struct GSC_TypeMap *tmap_old, 622 const struct GSC_TypeMap *tmap_old,
623 const struct GSC_TypeMap *tmap_new, 623 const struct GSC_TypeMap *tmap_new)
624 int is_new)
625{ 624{
626 struct ConnectNotifyMessage *cnm; 625 struct ConnectNotifyMessage *cnm;
627 size_t size; 626 size_t size;
@@ -641,8 +640,6 @@ GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
641 if (tmap_old != NULL) 640 if (tmap_old != NULL)
642 old_match = GNUNET_YES; 641 old_match = GNUNET_YES;
643 } 642 }
644 if (GNUNET_YES == is_new)
645 old_match = GNUNET_NO;
646 if (old_match == new_match) 643 if (old_match == new_match)
647 return; /* no change */ 644 return; /* no change */
648 if (old_match == GNUNET_NO) 645 if (old_match == GNUNET_NO)
@@ -710,8 +707,7 @@ GSC_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *ne
710 for (c = client_head; c != NULL; c = c->next) 707 for (c = client_head; c != NULL; c = c->next)
711 GSC_CLIENTS_notify_client_about_neighbour (c, neighbour, atsi, 708 GSC_CLIENTS_notify_client_about_neighbour (c, neighbour, atsi,
712 atsi_count, 709 atsi_count,
713 tmap_old, tmap_new, 710 tmap_old, tmap_new);
714 GNUNET_NO);
715} 711}
716 712
717 713