From: Florian Dold Date: Tue, 28 Feb 2017 19:10:39 +0000 (+0100) Subject: set: fix make check X-Git-Tag: taler-0.2.1~8^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90f6407e2ed835241c29bbd8c57bac47dd76e59c;p=oweals%2Fgnunet.git set: fix make check --- 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,