aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/test_statistics_api_watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/test_statistics_api_watch.c')
-rw-r--r--src/statistics/test_statistics_api_watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statistics/test_statistics_api_watch.c b/src/statistics/test_statistics_api_watch.c
index defa20a07..c7fe54b1f 100644
--- a/src/statistics/test_statistics_api_watch.c
+++ b/src/statistics/test_statistics_api_watch.c
@@ -33,11 +33,11 @@ static struct GNUNET_STATISTICS_Handle *h;
33 33
34static struct GNUNET_STATISTICS_Handle *h2; 34static struct GNUNET_STATISTICS_Handle *h2;
35 35
36static struct GNUNET_SCHEDULER_Task * shutdown_task; 36static struct GNUNET_SCHEDULER_Task *shutdown_task;
37 37
38 38
39static void 39static void
40force_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 40force_shutdown (void *cls)
41{ 41{
42 fprintf (stderr, "Timeout, failed to receive notifications: %d\n", ok); 42 fprintf (stderr, "Timeout, failed to receive notifications: %d\n", ok);
43 GNUNET_STATISTICS_destroy (h, GNUNET_NO); 43 GNUNET_STATISTICS_destroy (h, GNUNET_NO);
@@ -47,7 +47,7 @@ force_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
47 47
48 48
49static void 49static void
50normal_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 50normal_shutdown (void *cls)
51{ 51{
52 GNUNET_STATISTICS_destroy (h, GNUNET_NO); 52 GNUNET_STATISTICS_destroy (h, GNUNET_NO);
53 GNUNET_STATISTICS_destroy (h2, GNUNET_NO); 53 GNUNET_STATISTICS_destroy (h2, GNUNET_NO);