aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-service-statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r--src/statistics/gnunet-service-statistics.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c
index adec5a96d..8d989dafb 100644
--- a/src/statistics/gnunet-service-statistics.c
+++ b/src/statistics/gnunet-service-statistics.c
@@ -321,7 +321,7 @@ load (struct GNUNET_SERVER_Handle *server)
321 } 321 }
322 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 322 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
323 _("Loading %llu bytes of statistics from `%s'\n"), 323 _("Loading %llu bytes of statistics from `%s'\n"),
324 fsize, fn); 324 (unsigned long long) fsize, fn);
325 mst = GNUNET_SERVER_mst_create (&inject_message, 325 mst = GNUNET_SERVER_mst_create (&inject_message,
326 server); 326 server);
327 GNUNET_break (GNUNET_OK == 327 GNUNET_break (GNUNET_OK ==
@@ -475,7 +475,7 @@ transmit (struct GNUNET_SERVER_Client *client,
475 e->subsystem->service, 475 e->subsystem->service,
476 e->name, 476 e->name,
477 e->persistent, 477 e->persistent,
478 e->value); 478 (unsigned long long) e->value);
479 GNUNET_SERVER_notification_context_unicast (nc, client, &m->header, 479 GNUNET_SERVER_notification_context_unicast (nc, client, &m->header,
480 GNUNET_NO); 480 GNUNET_NO);
481 GNUNET_free (m); 481 GNUNET_free (m);
@@ -793,7 +793,7 @@ handle_set (void *cls,
793 "Statistic `%s:%s' updated to value %llu (%d).\n", 793 "Statistic `%s:%s' updated to value %llu (%d).\n",
794 service, 794 service,
795 name, 795 name,
796 pos->value, 796 (unsigned long long) pos->value,
797 pos->persistent); 797 pos->persistent);
798 if ( (changed) || 798 if ( (changed) ||
799 (1 == initial_set) ) 799 (1 == initial_set) )
@@ -829,7 +829,7 @@ handle_set (void *cls,
829 "New statistic on `%s:%s' with value %llu created.\n", 829 "New statistic on `%s:%s' with value %llu created.\n",
830 service, 830 service,
831 name, 831 name,
832 pos->value); 832 (unsigned long long) pos->value);
833 GNUNET_SERVER_receive_done (client, 833 GNUNET_SERVER_receive_done (client,
834 GNUNET_OK); 834 GNUNET_OK);
835} 835}
@@ -907,7 +907,7 @@ handle_watch (void *cls,
907 "New statistic on `%s:%s' with value %llu created.\n", 907 "New statistic on `%s:%s' with value %llu created.\n",
908 service, 908 service,
909 name, 909 name,
910 pos->value); 910 (unsigned long long) pos->value);
911 } 911 }
912 we = GNUNET_new (struct WatchEntry); 912 we = GNUNET_new (struct WatchEntry);
913 we->client = client; 913 we->client = client;