diff options
Diffstat (limited to 'src/util/mq.c')
-rw-r--r-- | src/util/mq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/mq.c b/src/util/mq.c index f5ebe33a5..aff9f465c 100644 --- a/src/util/mq.c +++ b/src/util/mq.c | |||
@@ -297,15 +297,15 @@ GNUNET_MQ_send (struct GNUNET_MQ_Handle *mq, | |||
297 | * results in undefined behavior if not used carefully. | 297 | * results in undefined behavior if not used carefully. |
298 | * | 298 | * |
299 | * @param cls message queue to send the next message with | 299 | * @param cls message queue to send the next message with |
300 | * @param tc scheduler context | ||
301 | */ | 300 | */ |
302 | static void | 301 | static void |
303 | impl_send_continue (void *cls, | 302 | impl_send_continue (void *cls) |
304 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
305 | { | 303 | { |
306 | struct GNUNET_MQ_Handle *mq = cls; | 304 | struct GNUNET_MQ_Handle *mq = cls; |
305 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
307 | struct GNUNET_MQ_Envelope *current_envelope; | 306 | struct GNUNET_MQ_Envelope *current_envelope; |
308 | 307 | ||
308 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
309 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 309 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
310 | return; | 310 | return; |
311 | 311 | ||