diff options
Diffstat (limited to 'src/set/test_set_union_result_symmetric.c')
-rw-r--r-- | src/set/test_set_union_result_symmetric.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/set/test_set_union_result_symmetric.c b/src/set/test_set_union_result_symmetric.c index 9a49abaf0..b312bcb4c 100644 --- a/src/set/test_set_union_result_symmetric.c +++ b/src/set/test_set_union_result_symmetric.c | |||
@@ -293,12 +293,13 @@ test_iter () | |||
293 | * Signature of the main function of a task. | 293 | * Signature of the main function of a task. |
294 | * | 294 | * |
295 | * @param cls closure | 295 | * @param cls closure |
296 | * @param tc context information (why was this task triggered now) | ||
297 | */ | 296 | */ |
298 | static void | 297 | static void |
299 | timeout_fail (void *cls, | 298 | timeout_fail (void *cls) |
300 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
301 | { | 299 | { |
300 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
301 | |||
302 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
302 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 303 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
303 | return; | 304 | return; |
304 | GNUNET_SCHEDULER_shutdown (); | 305 | GNUNET_SCHEDULER_shutdown (); |