- relaxed to accommodate overlay linking timeouts
[oweals/gnunet.git] / src / testbed / test_testbed_api_2peers_1controller.c
index f680efb9e8892c25827699624a93463e11d48ba4..9aa306a4b2e5ef225b09f955fd9e26589f31ace9 100644 (file)
@@ -175,7 +175,7 @@ static enum Stage result;
  * @param tc the task context
  */
 static void
-do_shutdown (void *cls, const const struct GNUNET_SCHEDULER_TaskContext *tc)
+do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   if (GNUNET_SCHEDULER_NO_TASK != abort_task)
     GNUNET_SCHEDULER_cancel (abort_task);
@@ -399,7 +399,7 @@ peer_create_cb (void *cls, struct GNUNET_TESTBED_Peer *peer, const char *emsg)
   GNUNET_assert (NULL == pc->peer);
   pc->peer = peer;
   GNUNET_TESTBED_operation_done (pc->operation);
-  pc->operation = GNUNET_TESTBED_peer_start (pc->peer, NULL, NULL);
+  pc->operation = GNUNET_TESTBED_peer_start (NULL, pc->peer, NULL, NULL);
 }