WiP
[oweals/gnunet.git] / src / util / test_scheduler_delay.c
index 24d30be99820c7c1f2741c25739f03ca95ad3ee2..1f60ca9fd1c474d0976d2a0a9ee7b38765fc6e75 100644 (file)
@@ -65,8 +65,7 @@ test_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
       fprintf (stderr, "\n");
       return;
     }
-  GNUNET_SCHEDULER_add_delayed (tc->sched,
-                                GNUNET_TIME_relative_multiply
+  GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
                                 (GNUNET_TIME_UNIT_MILLISECONDS, i),
                                 &test_task, NULL);
   i += INCR;