From 8fc3f747a85b4367b863a57ae9ea96b5b58f2f65 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 24 Dec 2014 01:45:23 +0000 Subject: [PATCH] -update priority to shutdown if that is being used --- src/util/scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/scheduler.c b/src/util/scheduler.c index ac4f89a73..f61a0b5bb 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c @@ -417,7 +417,7 @@ queue_ready_task (struct GNUNET_SCHEDULER_Task *task) enum GNUNET_SCHEDULER_Priority p = check_priority (task->priority); if (0 != (task->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) - p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN; + p = task->priority = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN; GNUNET_CONTAINER_DLL_insert (ready_head[p], ready_tail[p], task); -- 2.25.1