fix uninit listener field
authorChristian Grothoff <christian@grothoff.org>
Mon, 2 Oct 2017 07:39:05 +0000 (09:39 +0200)
committerChristian Grothoff <christian@grothoff.org>
Mon, 2 Oct 2017 07:39:05 +0000 (09:39 +0200)
src/set/gnunet-service-set.c

index 056f70f326f748baf85716d272d1acc91ffb9472..617a336618644c6abbdc4897b23325cfc406af2c 100644 (file)
@@ -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,