aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2017-07-04 00:29:19 +0200
committerxrs <xrs@mail36.net>2017-07-04 00:29:19 +0200
commitc29843536859d46d68f5122f754cadbea5aa9b40 (patch)
treec6d1d5e0e135fe0867b4765b8cb6d18ce7a7fb99
parentcfb311ede68b3e1502bb0bb0a0dcf4d6f8976d82 (diff)
parentdcf86b6d0f1caf789342c9903a16b2c44a1621cc (diff)
downloadgnunet-c29843536859d46d68f5122f754cadbea5aa9b40.tar.gz
gnunet-c29843536859d46d68f5122f754cadbea5aa9b40.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
-rw-r--r--src/multicast/test_multicast.conf2
-rw-r--r--src/set/set_api.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/multicast/test_multicast.conf b/src/multicast/test_multicast.conf
index 822a3b3c0..1bfde1d36 100644
--- a/src/multicast/test_multicast.conf
+++ b/src/multicast/test_multicast.conf
@@ -6,7 +6,7 @@ OVERLAY_TOPOLOGY = STAR
6GLOBAL_POSTFIX=-L ERROR 6GLOBAL_POSTFIX=-L ERROR
7 7
8[hostlist] 8[hostlist]
9#SERVERS = http://localhost:8080/ 9SERVERS = http://localhost:8080/
10 10
11[multicast] 11[multicast]
12#PREFIX = tmux split-window -v gdb -x ./cmd.gdb --args 12#PREFIX = tmux split-window -v gdb -x ./cmd.gdb --args
diff --git a/src/set/set_api.c b/src/set/set_api.c
index 27e2ccf04..1d0d00b44 100644
--- a/src/set/set_api.c
+++ b/src/set/set_api.c
@@ -497,7 +497,8 @@ set_operation_destroy (struct GNUNET_SET_OperationHandle *oh)
497 oh); 497 oh);
498 h_assoc = GNUNET_MQ_assoc_remove (set->mq, 498 h_assoc = GNUNET_MQ_assoc_remove (set->mq,
499 oh->request_id); 499 oh->request_id);
500 GNUNET_assert ((NULL == h_assoc) || (h_assoc == oh)); 500 GNUNET_assert ( (NULL == h_assoc) ||
501 (h_assoc == oh) );
501 } 502 }
502 GNUNET_free (oh); 503 GNUNET_free (oh);
503} 504}
@@ -556,7 +557,8 @@ handle_client_set_error (void *cls,
556 error); 557 error);
557 while (NULL != set->ops_head) 558 while (NULL != set->ops_head)
558 { 559 {
559 if (NULL != set->ops_head->result_cb) 560 if ( (NULL != set->ops_head->result_cb) &&
561 (GNUNET_NO == set->destroy_requested) )
560 set->ops_head->result_cb (set->ops_head->result_cls, 562 set->ops_head->result_cb (set->ops_head->result_cls,
561 NULL, 563 NULL,
562 0, 564 0,