aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 5fe525b9e..f88da52b8 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -357,18 +357,15 @@ clear_msg (void *cls, int result)
357 * when the helper process is stoped using GNUNET_HELPER_stop() 357 * when the helper process is stoped using GNUNET_HELPER_stop()
358 * 358 *
359 * @param cls the closure from GNUNET_HELPER_start() 359 * @param cls the closure from GNUNET_HELPER_start()
360 * @param h the handle representing the helper process. This handle is invalid
361 * in this callback. It is only presented for reference. No operations
362 * can be performed using it.
363 */ 360 */
364static void 361static void
365helper_exp_cb (void *cls, const struct GNUNET_HELPER_Handle *h) 362helper_exp_cb (void *cls)
366{ 363{
367 struct GNUNET_TESTBED_HelperHandle *handle = cls; 364 struct GNUNET_TESTBED_HelperHandle *handle = cls;
368 365
369 handle->is_stopped = GNUNET_YES; 366 handle->is_stopped = GNUNET_YES;
370 GNUNET_TESTBED_host_stop_ (handle); 367 GNUNET_TESTBED_host_stop_ (handle);
371 handle->exp_cb (handle->exp_cb_cls, h); 368 handle->exp_cb (handle->exp_cb_cls);
372} 369}
373 370
374 371