X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftestbed%2Ftest_testbed_api_2peers_1controller.c;h=18bff91e99bc398536b30991866f1b134f1b465e;hb=a900b29ddaa9ea46c731b054b5e3ef3e725b95a8;hp=ac7cc4227dd8e314ed896f6b33dbfc03992cc7ae;hpb=d0d39def77f1f81dd83823e0fe2cfe84a5393a74;p=oweals%2Fgnunet.git diff --git a/src/testbed/test_testbed_api_2peers_1controller.c b/src/testbed/test_testbed_api_2peers_1controller.c index ac7cc4227..18bff91e9 100644 --- a/src/testbed/test_testbed_api_2peers_1controller.c +++ b/src/testbed/test_testbed_api_2peers_1controller.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet - (C) 2008--2012 Christian Grothoff (and other contributing authors) + (C) 2008--2013 Christian Grothoff (and other contributing authors) GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -469,7 +469,7 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg_, int status event_mask |= (1L << GNUNET_TESTBED_ET_CONNECT); event_mask |= (1L << GNUNET_TESTBED_ET_OPERATION_FINISHED); controller = - GNUNET_TESTBED_controller_connect (cfg_, host, event_mask, &controller_cb, + GNUNET_TESTBED_controller_connect (host, event_mask, &controller_cb, NULL); FAIL_TEST (NULL != controller); neighbour = GNUNET_TESTBED_host_create ("localhost", NULL, cfg, 0); @@ -497,7 +497,7 @@ run (void *cls, char *const *args, const char *cfgfile, cfg = GNUNET_CONFIGURATION_dup (config); host = GNUNET_TESTBED_host_create (NULL, NULL, cfg, 0); FAIL_TEST (NULL != host); - cp = GNUNET_TESTBED_controller_start ("127.0.0.1", host, cfg, status_cb, + cp = GNUNET_TESTBED_controller_start ("127.0.0.1", host, status_cb, NULL); abort_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply