aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-service-statistics.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-01 22:44:28 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-01 22:44:28 +0000
commitbdef044d942a5f75f698bef989a1e768e79d2976 (patch)
tree59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/statistics/gnunet-service-statistics.c
parente9cf3782a3c5c2bcf6bdeff58b8a3536585791eb (diff)
downloadgnunet-bdef044d942a5f75f698bef989a1e768e79d2976.tar.gz
gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.zip
fixes from LRN for DEBUG code
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r--src/statistics/gnunet-service-statistics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c
index 50f347694..92f79cc91 100644
--- a/src/statistics/gnunet-service-statistics.c
+++ b/src/statistics/gnunet-service-statistics.c
@@ -305,7 +305,7 @@ transmit (struct GNUNET_SERVER_Client *client,
305 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 305 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
306 "Transmitting value for `%s:%s' (%d): %llu\n", 306 "Transmitting value for `%s:%s' (%d): %llu\n",
307 e->service, e->name, 307 e->service, e->name,
308 e->persistent, e->abs_value); 308 e->persistent, e->value);
309#endif 309#endif
310 GNUNET_SERVER_notification_context_unicast (nc, client, &m->header, GNUNET_NO); 310 GNUNET_SERVER_notification_context_unicast (nc, client, &m->header, GNUNET_NO);
311 GNUNET_free (m); 311 GNUNET_free (m);
@@ -479,7 +479,7 @@ handle_set (void *cls,
479 "Received request to update statistic on `%s:%s' (%u) to/by %llu\n", 479 "Received request to update statistic on `%s:%s' (%u) to/by %llu\n",
480 service, name, 480 service, name,
481 (unsigned int) flags, 481 (unsigned int) flags,
482 (unsigned long long) abs_value); 482 (unsigned long long) value);
483#endif 483#endif
484 pos = start; 484 pos = start;
485 prev = NULL; 485 prev = NULL;
@@ -522,7 +522,7 @@ handle_set (void *cls,
522#if DEBUG_STATISTICS 522#if DEBUG_STATISTICS
523 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 523 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
524 "Statistic `%s:%s' updated to value %llu.\n", 524 "Statistic `%s:%s' updated to value %llu.\n",
525 service, name, pos->abs_value); 525 service, name, pos->value);
526#endif 526#endif
527 if (changed) 527 if (changed)
528 notify_change (pos); 528 notify_change (pos);
@@ -548,7 +548,7 @@ handle_set (void *cls,
548#if DEBUG_STATISTICS 548#if DEBUG_STATISTICS
549 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 549 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
550 "New statistic on `%s:%s' with value %llu created.\n", 550 "New statistic on `%s:%s' with value %llu created.\n",
551 service, name, pos->abs_value); 551 service, name, pos->value);
552#endif 552#endif
553 GNUNET_SERVER_receive_done (client, GNUNET_OK); 553 GNUNET_SERVER_receive_done (client, GNUNET_OK);
554} 554}