From: Christian Grothoff Date: Tue, 31 Jan 2017 14:54:11 +0000 (+0100) Subject: initialize direction in rung DLL X-Git-Tag: taler-0.2.1~217 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8ad3c6b872407157dd28517649113f3ed7db62f;p=oweals%2Fgnunet.git initialize direction in rung DLL --- diff --git a/src/cadet/gnunet-service-cadet-new_core.c b/src/cadet/gnunet-service-cadet-new_core.c index 41b569cba..9b2f1a6fb 100644 --- a/src/cadet/gnunet-service-cadet-new_core.c +++ b/src/cadet/gnunet-service-cadet-new_core.c @@ -706,6 +706,10 @@ dir_init (struct RouteDirection *dir, dir->mqm = GCP_request_mq (hop, &dir_ready_cb, dir); + GNUNET_CONTAINER_DLL_insert (rung_head->rd_head, + rung_head->rd_tail, + dir); + dir->rung = rung_head; GNUNET_assert (GNUNET_YES == dir->is_ready); }