From: lurchi Date: Sat, 5 Aug 2017 11:38:45 +0000 (+0200) Subject: add missing DLL insert X-Git-Tag: gnunet-0.11.0rc0~48^2^2~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=290af4d573924059c0492eacb8a5e67a849d94d6;p=oweals%2Fgnunet.git add missing DLL insert --- diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 7a65069a2..3da4eaddb 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c @@ -1829,9 +1829,10 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio, GNUNET_SCHEDULER_PRIORITY_KEEP) ? current_priority : prio); t->lifeness = current_lifeness; - + GNUNET_CONTAINER_DLL_insert (pending_head, + pending_tail, + t); scheduler_multi_function_call(t, scheduler_driver->add); - max_priority_added = GNUNET_MAX (max_priority_added, t->priority); LOG (GNUNET_ERROR_TYPE_DEBUG,