From 2ee48eea42eca9d2dc7dc4d58ab9cf3f2dbb5066 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Mon, 3 Dec 2012 16:46:58 +0000 Subject: host compatibility check in GNUNET_TESTBED_run() and fixes --- src/testbed/gnunet-testbed-profiler.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/testbed/gnunet-testbed-profiler.c') 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 * GNUNET_TESTBED_is_host_habitable() is invalid after this callback is called * * @param cls NULL + * @param host the host whose status is being reported; will be NULL if the host + * given to GNUNET_TESTBED_is_host_habitable() is NULL * @param status GNUNET_YES if it is habitable; GNUNET_NO if not */ static void -host_habitable_cb (void *cls, int status) +host_habitable_cb (void *cls, const struct GNUNET_TESTBED_Host *host, int status) { struct GNUNET_TESTBED_HostHabitableCheckHandle **hc_handle = cls; static unsigned int hosts_checked; -- cgit v1.2.3