aboutsummaryrefslogtreecommitdiff
path: root/src/set/test_set_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/set/test_set_api.c')
-rw-r--r--src/set/test_set_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/set/test_set_api.c b/src/set/test_set_api.c
index fbb303257..b5c21f8a3 100644
--- a/src/set/test_set_api.c
+++ b/src/set/test_set_api.c
@@ -246,12 +246,13 @@ test_iter ()
246 * Signature of the main function of a task. 246 * Signature of the main function of a task.
247 * 247 *
248 * @param cls closure 248 * @param cls closure
249 * @param tc context information (why was this task triggered now)
250 */ 249 */
251static void 250static void
252timeout_fail (void *cls, 251timeout_fail (void *cls)
253 const struct GNUNET_SCHEDULER_TaskContext *tc)
254{ 252{
253 const struct GNUNET_SCHEDULER_TaskContext *tc;
254
255 tc = GNUNET_SCHEDULER_get_task_context ();
255 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) 256 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
256 return; 257 return;
257 GNUNET_SCHEDULER_shutdown (); 258 GNUNET_SCHEDULER_shutdown ();
@@ -316,4 +317,3 @@ main (int argc, char **argv)
316 } 317 }
317 return ret; 318 return ret;
318} 319}
319