aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-10 11:17:02 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-10 11:17:02 +0000
commit4e1e5f3d5b6018a3a81da9a5cd23ad9c96792317 (patch)
treed4f243ee1a23d12e2e980d8e0fd73cb8c1a6e8c5
parent92af7a802ec63a8d19ac53fbf38a50f88b67bdd1 (diff)
downloadgnunet-4e1e5f3d5b6018a3a81da9a5cd23ad9c96792317.tar.gz
gnunet-4e1e5f3d5b6018a3a81da9a5cd23ad9c96792317.zip
fix
-rw-r--r--src/core/gnunet-service-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 22224276f..9419ff4e0 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -1296,7 +1296,7 @@ consider_free_neighbour (struct Neighbour *n)
1296 GNUNET_assert (neighbour_count > 0); 1296 GNUNET_assert (neighbour_count > 0);
1297 neighbour_count--; 1297 neighbour_count--;
1298 GNUNET_STATISTICS_set (stats, 1298 GNUNET_STATISTICS_set (stats,
1299 gettext_noop ("# active neighbours"), 1299 gettext_noop ("# neighbour entries allocated"),
1300 neighbour_count, 1300 neighbour_count,
1301 GNUNET_NO); 1301 GNUNET_NO);
1302 free_neighbour (n); 1302 free_neighbour (n);
@@ -2079,7 +2079,7 @@ create_neighbour (const struct GNUNET_PeerIdentity *pid)
2079 n->next = neighbours; 2079 n->next = neighbours;
2080 neighbours = n; 2080 neighbours = n;
2081 neighbour_count++; 2081 neighbour_count++;
2082 GNUNET_STATISTICS_set (stats, gettext_noop ("# neighbours entries allocated"), neighbour_count, GNUNET_NO); 2082 GNUNET_STATISTICS_set (stats, gettext_noop ("# neighbour entries allocated"), neighbour_count, GNUNET_NO);
2083 n->peer = *pid; 2083 n->peer = *pid;
2084 GNUNET_CRYPTO_aes_create_session_key (&n->encrypt_key); 2084 GNUNET_CRYPTO_aes_create_session_key (&n->encrypt_key);
2085 now = GNUNET_TIME_absolute_get (); 2085 now = GNUNET_TIME_absolute_get ();
@@ -3714,7 +3714,7 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
3714 neighbour_count--; 3714 neighbour_count--;
3715 free_neighbour (n); 3715 free_neighbour (n);
3716 } 3716 }
3717 GNUNET_STATISTICS_set (stats, gettext_noop ("# active neighbours"), neighbour_count, GNUNET_NO); 3717 GNUNET_STATISTICS_set (stats, gettext_noop ("# neighbour entries allocated"), neighbour_count, GNUNET_NO);
3718 GNUNET_SERVER_notification_context_destroy (notifier); 3718 GNUNET_SERVER_notification_context_destroy (notifier);
3719 notifier = NULL; 3719 notifier = NULL;
3720 while (NULL != (c = clients)) 3720 while (NULL != (c = clients))