diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-30 16:53:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-30 16:53:11 +0000 |
commit | 6e92863ee3b53577d31f4a0e3bf5bad8e47f4437 (patch) | |
tree | 1f47c5b50299fc4ddddc474cb091b8dc196480b1 /src/set/gnunet-service-set_intersection.c | |
parent | 3ff74fa1dac7f7b839930959962f4f1c843708bd (diff) | |
download | gnunet-6e92863ee3b53577d31f4a0e3bf5bad8e47f4437.tar.gz gnunet-6e92863ee3b53577d31f4a0e3bf5bad8e47f4437.zip |
-use keep as RC to address #3561
Diffstat (limited to 'src/set/gnunet-service-set_intersection.c')
-rw-r--r-- | src/set/gnunet-service-set_intersection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set/gnunet-service-set_intersection.c b/src/set/gnunet-service-set_intersection.c index ceb6a3ccb..ed21cd1bb 100644 --- a/src/set/gnunet-service-set_intersection.c +++ b/src/set/gnunet-service-set_intersection.c | |||
@@ -549,7 +549,7 @@ send_remaining_elements (void *cls) | |||
549 | { | 549 | { |
550 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 550 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
551 | "Sending done and destroy because iterator ran out\n"); | 551 | "Sending done and destroy because iterator ran out\n"); |
552 | op->keep = GNUNET_NO; | 552 | op->keep--; |
553 | send_client_done_and_destroy (op); | 553 | send_client_done_and_destroy (op); |
554 | return; | 554 | return; |
555 | } | 555 | } |
@@ -907,7 +907,7 @@ finish_and_destroy (struct Operation *op) | |||
907 | GNUNET_CONTAINER_multihashmap_size (op->state->my_elements)); | 907 | GNUNET_CONTAINER_multihashmap_size (op->state->my_elements)); |
908 | op->state->full_result_iter | 908 | op->state->full_result_iter |
909 | = GNUNET_CONTAINER_multihashmap_iterator_create (op->state->my_elements); | 909 | = GNUNET_CONTAINER_multihashmap_iterator_create (op->state->my_elements); |
910 | op->keep = GNUNET_YES; | 910 | op->keep++; |
911 | send_remaining_elements (op); | 911 | send_remaining_elements (op); |
912 | return; | 912 | return; |
913 | } | 913 | } |