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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index ed3379d88..292dafadf 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -1239,7 +1239,7 @@ struct GNUNET_TESTBED_HostHabitableCheckHandle
1239 /** 1239 /**
1240 * Task id for the habitability check task 1240 * Task id for the habitability check task
1241 */ 1241 */
1242 GNUNET_SCHEDULER_TaskIdentifier habitability_check_task; 1242 struct GNUNET_SCHEDULER_Task * habitability_check_task;
1243 1243
1244 /** 1244 /**
1245 * How long we wait before checking the process status. Should grow 1245 * How long we wait before checking the process status. Should grow
@@ -1267,7 +1267,7 @@ habitability_check (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1267 enum GNUNET_OS_ProcessStatusType type; 1267 enum GNUNET_OS_ProcessStatusType type;
1268 int ret; 1268 int ret;
1269 1269
1270 h->habitability_check_task = GNUNET_SCHEDULER_NO_TASK; 1270 h->habitability_check_task = NULL;
1271 ret = GNUNET_OS_process_status (h->auxp, &type, &code); 1271 ret = GNUNET_OS_process_status (h->auxp, &type, &code);
1272 if (GNUNET_SYSERR == ret) 1272 if (GNUNET_SYSERR == ret)
1273 { 1273 {