From: Christian Grothoff Date: Sat, 10 Apr 2010 11:17:02 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22203 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e1e5f3d5b6018a3a81da9a5cd23ad9c96792317;p=oweals%2Fgnunet.git fix --- 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) GNUNET_assert (neighbour_count > 0); neighbour_count--; GNUNET_STATISTICS_set (stats, - gettext_noop ("# active neighbours"), + gettext_noop ("# neighbour entries allocated"), neighbour_count, GNUNET_NO); free_neighbour (n); @@ -2079,7 +2079,7 @@ create_neighbour (const struct GNUNET_PeerIdentity *pid) n->next = neighbours; neighbours = n; neighbour_count++; - GNUNET_STATISTICS_set (stats, gettext_noop ("# neighbours entries allocated"), neighbour_count, GNUNET_NO); + GNUNET_STATISTICS_set (stats, gettext_noop ("# neighbour entries allocated"), neighbour_count, GNUNET_NO); n->peer = *pid; GNUNET_CRYPTO_aes_create_session_key (&n->encrypt_key); now = GNUNET_TIME_absolute_get (); @@ -3714,7 +3714,7 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) neighbour_count--; free_neighbour (n); } - GNUNET_STATISTICS_set (stats, gettext_noop ("# active neighbours"), neighbour_count, GNUNET_NO); + GNUNET_STATISTICS_set (stats, gettext_noop ("# neighbour entries allocated"), neighbour_count, GNUNET_NO); GNUNET_SERVER_notification_context_destroy (notifier); notifier = NULL; while (NULL != (c = clients))