diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/testbed_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/testbed_test.c b/doc/testbed_test.c index bdda338b0..e48bb28d8 100644 --- a/doc/testbed_test.c +++ b/doc/testbed_test.c | |||
@@ -11,7 +11,7 @@ static struct GNUNET_TESTBED_Operation *dht_op; | |||
11 | 11 | ||
12 | static struct GNUNET_DHT_Handle *dht_handle; | 12 | static struct GNUNET_DHT_Handle *dht_handle; |
13 | 13 | ||
14 | static GNUNET_SCHEDULER_TaskIdentifier shutdown_tid; | 14 | static struct GNUNET_SCHEDULER_Task * shutdown_tid; |
15 | 15 | ||
16 | 16 | ||
17 | /** | 17 | /** |
@@ -39,7 +39,7 @@ static int result; | |||
39 | static void | 39 | static void |
40 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 40 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
41 | { | 41 | { |
42 | shutdown_tid = GNUNET_SCHEDULER_NO_TASK; | 42 | shutdown_tid = NULL; |
43 | if (NULL != dht_op) | 43 | if (NULL != dht_op) |
44 | { | 44 | { |
45 | GNUNET_TESTBED_operation_done (dht_op); /* indirectly calls the dht_da() for closing | 45 | GNUNET_TESTBED_operation_done (dht_op); /* indirectly calls the dht_da() for closing |