summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-02 09:39:05 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-02 09:39:05 +0200
commita995680a1408fc756a6ced539f4d3b46ed21b770 (patch)
tree01d78481e505c71a0831b3e15ce8ab8776ae5a62
parent73f3dbe65643956dd1d872730cdd08c71cd076c5 (diff)
fix uninit listener field
-rw-r--r--src/set/gnunet-service-set.c1
1 files changed, 1 insertions, 0 deletions
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,