aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-service-statistics.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-11-01 22:44:28 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-11-01 22:44:28 +0000
commit31a92b2aab699fee4df2a5548afe7e720973416f (patch)
tree59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/statistics/gnunet-service-statistics.c
parentd7e2e6590e09192d73c71b7094b3883942ce176b (diff)
fixes from LRN for DEBUG code
git-svn-id: https://gnunet.org/svn/gnunet@13485 140774ce-b5e7-0310-ab8b-a85725594a96
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 50f347694a..92f79cc914 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,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Transmitting value for `%s:%s' (%d): %llu\n",
e->service, e->name,
- e->persistent, e->abs_value);
+ e->persistent, e->value);
#endif
GNUNET_SERVER_notification_context_unicast (nc, client, &m->header, GNUNET_NO);
GNUNET_free (m);
@@ -479,7 +479,7 @@ handle_set (void *cls,
"Received request to update statistic on `%s:%s' (%u) to/by %llu\n",
service, name,
(unsigned int) flags,
- (unsigned long long) abs_value);
+ (unsigned long long) value);
#endif
pos = start;
prev = NULL;
@@ -522,7 +522,7 @@ handle_set (void *cls,
#if DEBUG_STATISTICS
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Statistic `%s:%s' updated to value %llu.\n",
- service, name, pos->abs_value);
+ service, name, pos->value);
#endif
if (changed)
notify_change (pos);
@@ -548,7 +548,7 @@ handle_set (void *cls,
#if DEBUG_STATISTICS
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"New statistic on `%s:%s' with value %llu created.\n",
- service, name, pos->abs_value);
+ service, name, pos->value);
#endif
GNUNET_SERVER_receive_done (client, GNUNET_OK);
}