summaryrefslogtreecommitdiff
path: root/src/testbed/test_testbed_api.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-04-10 14:25:55 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-04-10 14:25:55 +0000
commitf4446e40904ba3f3177a8eaf1f9756e48dcc03a9 (patch)
treed854bfd39195ec0605f75b049641d4fec3310e58 /src/testbed/test_testbed_api.c
parentbcb48ad6fa905f02703fcbd53d74326c51730afc (diff)
downloadgnunet-f4446e40904ba3f3177a8eaf1f9756e48dcc03a9.tar.gz
gnunet-f4446e40904ba3f3177a8eaf1f9756e48dcc03a9.zip
- use host's configuration while connecting to controller
Diffstat (limited to 'src/testbed/test_testbed_api.c')
-rw-r--r--src/testbed/test_testbed_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api.c b/src/testbed/test_testbed_api.c
index 2e18f3411..e579536c0 100644
--- a/src/testbed/test_testbed_api.c
+++ b/src/testbed/test_testbed_api.c
@@ -423,7 +423,7 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg_, int status
423 event_mask |= (1L << GNUNET_TESTBED_ET_CONNECT); 423 event_mask |= (1L << GNUNET_TESTBED_ET_CONNECT);
424 event_mask |= (1L << GNUNET_TESTBED_ET_OPERATION_FINISHED); 424 event_mask |= (1L << GNUNET_TESTBED_ET_OPERATION_FINISHED);
425 controller = 425 controller =
426 GNUNET_TESTBED_controller_connect (cfg_, host, event_mask, &controller_cb, 426 GNUNET_TESTBED_controller_connect (host, event_mask, &controller_cb,
427 NULL); 427 NULL);
428 FAIL_TEST (NULL != controller, return); 428 FAIL_TEST (NULL != controller, return);
429 neighbour = GNUNET_TESTBED_host_create ("localhost", NULL, cfg, 0); 429 neighbour = GNUNET_TESTBED_host_create ("localhost", NULL, cfg, 0);