aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-testbed-profiler.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-12-03 16:46:58 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-12-03 16:46:58 +0000
commit2ee48eea42eca9d2dc7dc4d58ab9cf3f2dbb5066 (patch)
tree8fce122235044be5e6ec93e3372ee5de9a4c7548 /src/testbed/gnunet-testbed-profiler.c
parentf31790d110d6eed2aa78f336f96cc2240bd44c39 (diff)
downloadgnunet-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.c4
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 */
711static void 713static void
712host_habitable_cb (void *cls, int status) 714host_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;