fix
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 17 Oct 2012 09:22:38 +0000 (09:22 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 17 Oct 2012 09:22:38 +0000 (09:22 +0000)
src/transport/test_plugin_transport.c

index 647a7ad9efa6ac62699ebe237d9a25d611322ce7..e512716bc575a19aef59b670f263bbe7ea924aab 100644 (file)
@@ -204,7 +204,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   if (pretty_printers_running > 0)
   {
-      timeout_endbadly = GNUNET_SCHEDULER_add_delayed(GNUNET_TIME_UNIT_SECONDS, &end_badly, NULL);
+      timeout_endbadly = GNUNET_SCHEDULER_add_delayed(GNUNET_TIME_UNIT_SECONDS, &end_badly, &ok);
       GNUNET_log (GNUNET_ERROR_TYPE_INFO,
                 _("Have pending calls to pretty_printer ... deferring shutdown\n"));
       return;