diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-27 19:46:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-27 19:46:50 +0000 |
commit | 603bc89e8f2e132e5cbfcd6e14044a01b4739425 (patch) | |
tree | 74a1ac4f005fe1acecaefdd9b7f6ae4d8d0f6606 /src/nse | |
parent | 1171da0ad4c25f99f591cd9a537736e85b2f9c58 (diff) | |
download | gnunet-603bc89e8f2e132e5cbfcd6e14044a01b4739425.tar.gz gnunet-603bc89e8f2e132e5cbfcd6e14044a01b4739425.zip |
-more uniform statistics naming
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 6fc45273e..9c31ab8e2 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -1197,7 +1197,7 @@ handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
1197 | peer_entry->transmit_task = | 1197 | peer_entry->transmit_task = |
1198 | GNUNET_SCHEDULER_add_delayed (get_transmit_delay (-1), &transmit_task_cb, | 1198 | GNUNET_SCHEDULER_add_delayed (get_transmit_delay (-1), &transmit_task_cb, |
1199 | peer_entry); | 1199 | peer_entry); |
1200 | GNUNET_STATISTICS_update (stats, "# peers", 1, GNUNET_NO); | 1200 | GNUNET_STATISTICS_update (stats, "# peers connected", 1, GNUNET_NO); |
1201 | } | 1201 | } |
1202 | 1202 | ||
1203 | 1203 | ||
@@ -1234,7 +1234,7 @@ handle_core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
1234 | pos->th = NULL; | 1234 | pos->th = NULL; |
1235 | } | 1235 | } |
1236 | GNUNET_free (pos); | 1236 | GNUNET_free (pos); |
1237 | GNUNET_STATISTICS_update (stats, "# peers", -1, GNUNET_NO); | 1237 | GNUNET_STATISTICS_update (stats, "# peers connected", -1, GNUNET_NO); |
1238 | } | 1238 | } |
1239 | 1239 | ||
1240 | 1240 | ||