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/gnunet-testbed-profiler.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/gnunet-testbed-profiler.c')
-rw-r--r-- | src/testbed/gnunet-testbed-profiler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index f0394bc09..086a9ef56 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c | |||
@@ -706,10 +706,12 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int stat | |||
706 | * GNUNET_TESTBED_is_host_habitable() is invalid after this callback is called | 706 | * GNUNET_TESTBED_is_host_habitable() is invalid after this callback is called |
707 | * | 707 | * |
708 | * @param cls NULL | 708 | * @param cls NULL |
709 | * @param host the host whose status is being reported; will be NULL if the host | ||
710 | * given to GNUNET_TESTBED_is_host_habitable() is NULL | ||
709 | * @param status GNUNET_YES if it is habitable; GNUNET_NO if not | 711 | * @param status GNUNET_YES if it is habitable; GNUNET_NO if not |
710 | */ | 712 | */ |
711 | static void | 713 | static void |
712 | host_habitable_cb (void *cls, int status) | 714 | host_habitable_cb (void *cls, const struct GNUNET_TESTBED_Host *host, int status) |
713 | { | 715 | { |
714 | struct GNUNET_TESTBED_HostHabitableCheckHandle **hc_handle = cls; | 716 | struct GNUNET_TESTBED_HostHabitableCheckHandle **hc_handle = cls; |
715 | static unsigned int hosts_checked; | 717 | static unsigned int hosts_checked; |