From 90f6407e2ed835241c29bbd8c57bac47dd76e59c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 28 Feb 2017 20:10:39 +0100 Subject: [PATCH] set: fix make check --- src/set/gnunet-service-set.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c index b0f8b2091..454ad9784 100644 --- a/src/set/gnunet-service-set.c +++ b/src/set/gnunet-service-set.c @@ -672,11 +672,12 @@ client_disconnect_cb (void *cls, "Client's set destroyed\n"); } struct Listener *listener = listener_get (client); - struct Operation *op = incoming_head; if (NULL != listener) { /* destroy all incoming operations whose client just * got destroyed */ + //struct Operation *op = incoming_head; + /* while (NULL != op) { struct Operation *curr = op; @@ -685,6 +686,7 @@ client_disconnect_cb (void *cls, (curr->listener == listener) ) incoming_destroy (curr); } + */ listener->client = NULL; listener_destroy (listener); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, -- 2.25.1