diff options
Diffstat (limited to 'src/set/test_set_union_copy.c')
-rw-r--r-- | src/set/test_set_union_copy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/set/test_set_union_copy.c b/src/set/test_set_union_copy.c index 247d91498..fdf6bf9df 100644 --- a/src/set/test_set_union_copy.c +++ b/src/set/test_set_union_copy.c | |||
@@ -73,12 +73,13 @@ remove_element_str (struct GNUNET_SET_Handle *set, char *str) | |||
73 | * Signature of the main function of a task. | 73 | * Signature of the main function of a task. |
74 | * | 74 | * |
75 | * @param cls closure | 75 | * @param cls closure |
76 | * @param tc context information (why was this task triggered now) | ||
77 | */ | 76 | */ |
78 | static void | 77 | static void |
79 | timeout_fail (void *cls, | 78 | timeout_fail (void *cls) |
80 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
81 | { | 79 | { |
80 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
81 | |||
82 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
82 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 83 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
83 | return; | 84 | return; |
84 | GNUNET_SCHEDULER_shutdown (); | 85 | GNUNET_SCHEDULER_shutdown (); |