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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c
index 92f79cc91..c506dee7b 100644
--- a/src/statistics/gnunet-service-statistics.c
+++ b/src/statistics/gnunet-service-statistics.c
@@ -730,13 +730,11 @@ handle_client_disconnect (void *cls,
730 * Process statistics requests. 730 * Process statistics requests.
731 * 731 *
732 * @param cls closure 732 * @param cls closure
733 * @param sched scheduler to use
734 * @param server the initialized server 733 * @param server the initialized server
735 * @param c configuration to use 734 * @param c configuration to use
736 */ 735 */
737static void 736static void
738run (void *cls, 737run (void *cls,
739 struct GNUNET_SCHEDULER_Handle *sched,
740 struct GNUNET_SERVER_Handle *server, 738 struct GNUNET_SERVER_Handle *server,
741 const struct GNUNET_CONFIGURATION_Handle *c) 739 const struct GNUNET_CONFIGURATION_Handle *c)
742{ 740{
@@ -753,8 +751,7 @@ run (void *cls,
753 &handle_client_disconnect, 751 &handle_client_disconnect,
754 NULL); 752 NULL);
755 load (server); 753 load (server);
756 GNUNET_SCHEDULER_add_delayed (sched, 754 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
757 GNUNET_TIME_UNIT_FOREVER_REL,
758 &shutdown_task, 755 &shutdown_task,
759 NULL); 756 NULL);
760} 757}