diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-12-03 16:46:58 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-12-03 16:46:58 +0000 |
commit | 2ee48eea42eca9d2dc7dc4d58ab9cf3f2dbb5066 (patch) | |
tree | 8fce122235044be5e6ec93e3372ee5de9a4c7548 /src/testbed/test_testbed_api_controllerlink.c | |
parent | f31790d110d6eed2aa78f336f96cc2240bd44c39 (diff) | |
download | gnunet-2ee48eea42eca9d2dc7dc4d58ab9cf3f2dbb5066.tar.gz gnunet-2ee48eea42eca9d2dc7dc4d58ab9cf3f2dbb5066.zip |
host compatibility check in GNUNET_TESTBED_run() and fixes
Diffstat (limited to 'src/testbed/test_testbed_api_controllerlink.c')
-rw-r--r-- | src/testbed/test_testbed_api_controllerlink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api_controllerlink.c b/src/testbed/test_testbed_api_controllerlink.c index 3867df27b..cea04cb63 100644 --- a/src/testbed/test_testbed_api_controllerlink.c +++ b/src/testbed/test_testbed_api_controllerlink.c | |||
@@ -644,10 +644,12 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, | |||
644 | * GNUNET_TESTBED_is_host_habitable() is invalid after this callback is called | 644 | * GNUNET_TESTBED_is_host_habitable() is invalid after this callback is called |
645 | * | 645 | * |
646 | * @param cls NULL | 646 | * @param cls NULL |
647 | * @param host the host whose status is being reported; will be NULL if the host | ||
648 | * given to GNUNET_TESTBED_is_host_habitable() is NULL | ||
647 | * @param status GNUNET_YES if it is habitable; GNUNET_NO if not | 649 | * @param status GNUNET_YES if it is habitable; GNUNET_NO if not |
648 | */ | 650 | */ |
649 | static void | 651 | static void |
650 | host_habitable_cb (void *cls, int status) | 652 | host_habitable_cb (void *cls, const struct GNUNET_TESTBED_Host *_host, int status) |
651 | { | 653 | { |
652 | hc_handle = NULL; | 654 | hc_handle = NULL; |
653 | cp = GNUNET_TESTBED_controller_start ("127.0.0.1", host, cfg, status_cb, | 655 | cp = GNUNET_TESTBED_controller_start ("127.0.0.1", host, cfg, status_cb, |