-rps: open channel when inserting peer in view
[oweals/gnunet.git] / src / testbed / test_testbed_api_hosts.c
index 2141dc46f30002cbade38d5c2178aaee32143214..0999020a8352a39b4e171e19e683a456343d322a 100644 (file)
@@ -58,10 +58,6 @@ static unsigned int num_hosts;
  */
 static int status;
 
-/**
- * Shutdown task identifier
- */
-struct GNUNET_SCHEDULER_Task * shutdown_id;
 
 /**
  * The shutdown task
@@ -159,8 +155,7 @@ run (void *cls, char *const *args, const char *cfgfile,
     }
   }
   status = GNUNET_YES;
-  shutdown_id =
-      GNUNET_SCHEDULER_add_delayed (TIME_REL_SECS (0), &do_shutdown, NULL);
+  GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
 }