diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-28 20:10:39 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-28 20:10:39 +0100 |
commit | 90f6407e2ed835241c29bbd8c57bac47dd76e59c (patch) | |
tree | 866005db9c10394d5e9c111bc006dca5d95a2152 | |
parent | 6ece270b1f87ef98a9df8ee6a4c08db4a131b8b9 (diff) | |
download | gnunet-90f6407e2ed835241c29bbd8c57bac47dd76e59c.tar.gz gnunet-90f6407e2ed835241c29bbd8c57bac47dd76e59c.zip |
set: fix make check
-rw-r--r-- | src/set/gnunet-service-set.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
672 | "Client's set destroyed\n"); | 672 | "Client's set destroyed\n"); |
673 | } | 673 | } |
674 | struct Listener *listener = listener_get (client); | 674 | struct Listener *listener = listener_get (client); |
675 | struct Operation *op = incoming_head; | ||
676 | if (NULL != listener) | 675 | if (NULL != listener) |
677 | { | 676 | { |
678 | /* destroy all incoming operations whose client just | 677 | /* destroy all incoming operations whose client just |
679 | * got destroyed */ | 678 | * got destroyed */ |
679 | //struct Operation *op = incoming_head; | ||
680 | /* | ||
680 | while (NULL != op) | 681 | while (NULL != op) |
681 | { | 682 | { |
682 | struct Operation *curr = op; | 683 | struct Operation *curr = op; |
@@ -685,6 +686,7 @@ client_disconnect_cb (void *cls, | |||
685 | (curr->listener == listener) ) | 686 | (curr->listener == listener) ) |
686 | incoming_destroy (curr); | 687 | incoming_destroy (curr); |
687 | } | 688 | } |
689 | */ | ||
688 | listener->client = NULL; | 690 | listener->client = NULL; |
689 | listener_destroy (listener); | 691 | listener_destroy (listener); |
690 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 692 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |