aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-05-27 19:46:50 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-05-27 19:46:50 +0000
commit4dd235549b1817275def3e1b78cb37e2e7336fc4 (patch)
tree74a1ac4f005fe1acecaefdd9b7f6ae4d8d0f6606
parent06bf68b37e9747352d64bee39b79368bf8849a6b (diff)
-more uniform statistics naming
git-svn-id: https://gnunet.org/svn/gnunet@21597 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c4
-rw-r--r--src/nse/gnunet-service-nse.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 3d148270d3..083b499230 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -622,7 +622,7 @@ handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
GNUNET_break (0);
return;
}
- GNUNET_STATISTICS_update (GDS_stats, gettext_noop ("# Peers connected"), 1,
+ GNUNET_STATISTICS_update (GDS_stats, gettext_noop ("# peers connected"), 1,
GNUNET_NO);
peer_bucket = find_bucket (&peer->hashPubKey);
GNUNET_assert ((peer_bucket >= 0) && (peer_bucket < MAX_BUCKETS));
@@ -680,7 +680,7 @@ handle_core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
GNUNET_break (0);
return;
}
- GNUNET_STATISTICS_update (GDS_stats, gettext_noop ("# Peers connected"), -1,
+ GNUNET_STATISTICS_update (GDS_stats, gettext_noop ("# peers connected"), -1,
GNUNET_NO);
GNUNET_assert (GNUNET_YES ==
GNUNET_CONTAINER_multihashmap_remove (all_known_peers,
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 6fc45273e2..9c31ab8e22 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,
peer_entry->transmit_task =
GNUNET_SCHEDULER_add_delayed (get_transmit_delay (-1), &transmit_task_cb,
peer_entry);
- GNUNET_STATISTICS_update (stats, "# peers", 1, GNUNET_NO);
+ GNUNET_STATISTICS_update (stats, "# peers connected", 1, GNUNET_NO);
}
@@ -1234,7 +1234,7 @@ handle_core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
pos->th = NULL;
}
GNUNET_free (pos);
- GNUNET_STATISTICS_update (stats, "# peers", -1, GNUNET_NO);
+ GNUNET_STATISTICS_update (stats, "# peers connected", -1, GNUNET_NO);
}