spacing
[oweals/gnunet.git] / src / statistics / test_statistics_api_watch.c
index a7ae490a7b8924308bdf987ef8c8a8d1aa01fdac..4c44bd0bada07b3bada3d36d111d970af06e0a2a 100644 (file)
@@ -43,6 +43,7 @@ static struct GNUNET_STATISTICS_Handle *h2;
 
 static GNUNET_SCHEDULER_TaskIdentifier shutdown_task;
 
+
 static void
 force_shutdown (void *cls,
                const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -53,6 +54,7 @@ force_shutdown (void *cls,
   ok = 7;
 }
 
+
 static void
 normal_shutdown (void *cls,
                 const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -61,6 +63,7 @@ normal_shutdown (void *cls,
   GNUNET_STATISTICS_destroy (h2, GNUNET_NO);
 }
 
+
 static int
 watch_1 (void *cls, 
         const char *subsystem,
@@ -68,7 +71,6 @@ watch_1 (void *cls,
         uint64_t value,
         int is_persistent)
 {
-  fprintf (stderr, "Value `%s' seen\n", name);
   GNUNET_assert (value == 42);
   GNUNET_assert (0 == strcmp (name, "test-1"));
   ok &= ~1;
@@ -80,6 +82,7 @@ watch_1 (void *cls,
   return GNUNET_OK;
 }
 
+
 static int
 watch_2 (void *cls, 
         const char *subsystem,
@@ -87,7 +90,6 @@ watch_2 (void *cls,
         uint64_t value,
         int is_persistent)
 {
-  fprintf (stderr, "Value `%s' seen\n", name);
   GNUNET_assert (value == 43);
   GNUNET_assert (0 == strcmp (name, "test-2"));
   ok &= ~2;
@@ -99,6 +101,7 @@ watch_2 (void *cls,
   return GNUNET_OK;
 }
 
+
 static void
 run (void *cls,
      char *const *args,