From a995680a1408fc756a6ced539f4d3b46ed21b770 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 2 Oct 2017 09:39:05 +0200 Subject: [PATCH] fix uninit listener field --- src/set/gnunet-service-set.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c index 056f70f32..617a33661 100644 --- a/src/set/gnunet-service-set.c +++ b/src/set/gnunet-service-set.c @@ -1321,6 +1321,7 @@ handle_client_listen (void *cls, } listener = GNUNET_new (struct Listener); listener->cs = cs; + cs->listener = listener; listener->app_id = msg->app_id; listener->operation = (enum GNUNET_SET_OperationType) ntohl (msg->operation); GNUNET_CONTAINER_DLL_insert (listener_head, -- 2.25.1