aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-08 19:00:19 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-08 19:00:19 +0000
commitfe947a9704bed14c2fc74b2f2069596fe884cbad (patch)
tree644efdaa37d692b09f8e279bfe5e8b2ebe81448b /src/statistics
parenta8b0ab037820f6a9f405be3855ce8d3ebbd4399b (diff)
downloadgnunet-fe947a9704bed14c2fc74b2f2069596fe884cbad.tar.gz
gnunet-fe947a9704bed14c2fc74b2f2069596fe884cbad.zip
better comments
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/gnunet-statistics.c4
-rw-r--r--src/statistics/statistics_api.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c
index fe75f93aa..bea9ca0ca 100644
--- a/src/statistics/gnunet-statistics.c
+++ b/src/statistics/gnunet-statistics.c
@@ -65,11 +65,11 @@ static int persistent;
65static int 65static int
66printer (void *cls, 66printer (void *cls,
67 const char *subsystem, 67 const char *subsystem,
68 const char *sname, unsigned long long value, int is_persistent) 68 const char *name, unsigned long long value, int is_persistent)
69{ 69{
70 FPRINTF (stdout, 70 FPRINTF (stdout,
71 "%s%-20s %-40s: %16llu\n", 71 "%s%-20s %-40s: %16llu\n",
72 is_persistent ? "!" : " ", subsystem, _(sname), value); 72 is_persistent ? "!" : " ", subsystem, _(name), value);
73 return GNUNET_OK; 73 return GNUNET_OK;
74} 74}
75 75
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index 26e2425e6..335cd4165 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -201,6 +201,7 @@ free_action_item (struct ActionItem *ai)
201/** 201/**
202 * Get handle for the statistics service. 202 * Get handle for the statistics service.
203 * 203 *
204 * @param sched scheduler to use
204 * @param subsystem name of subsystem using the service 205 * @param subsystem name of subsystem using the service
205 * @param cfg services configuration in use 206 * @param cfg services configuration in use
206 * @return handle to use 207 * @return handle to use