aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-a995680a1408fc756a6ced539f4d3b46ed21b770.tar.gz
gnunet-a995680a1408fc756a6ced539f4d3b46ed21b770.zip
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,
1321 } 1321 }
1322 listener = GNUNET_new (struct Listener); 1322 listener = GNUNET_new (struct Listener);
1323 listener->cs = cs; 1323 listener->cs = cs;
1324 cs->listener = listener;
1324 listener->app_id = msg->app_id; 1325 listener->app_id = msg->app_id;
1325 listener->operation = (enum GNUNET_SET_OperationType) ntohl (msg->operation); 1326 listener->operation = (enum GNUNET_SET_OperationType) ntohl (msg->operation);
1326 GNUNET_CONTAINER_DLL_insert (listener_head, 1327 GNUNET_CONTAINER_DLL_insert (listener_head,