aboutsummaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set_intersection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set_intersection.c b/src/set/gnunet-service-set_intersection.c
index fb3cd23b5..2af68dbef 100644
--- a/src/set/gnunet-service-set_intersection.c
+++ b/src/set/gnunet-service-set_intersection.c
@@ -903,7 +903,7 @@ handle_p2p_done (void *cls,
903 { 903 {
904 /* other peer determined empty set is the intersection, 904 /* other peer determined empty set is the intersection,
905 remove all elements */ 905 remove all elements */
906 GNUNET_CONTAINER_multihashmap_iterate (op->spec->set->elements, 906 GNUNET_CONTAINER_multihashmap_iterate (op->state->my_elements,
907 &filter_all, 907 &filter_all,
908 op); 908 op);
909 } 909 }
@@ -995,6 +995,7 @@ intersection_accept (struct Operation *op)
995 /* If the other peer (Alice) has fewer elements than us (Bob), 995 /* If the other peer (Alice) has fewer elements than us (Bob),
996 we just send the count as Alice should send the first BF */ 996 we just send the count as Alice should send the first BF */
997 send_element_count (op); 997 send_element_count (op);
998 op->state->phase = PHASE_BF_EXCHANGE;
998 return; 999 return;
999 } 1000 }
1000 /* We have fewer elements, so we start with the BF */ 1001 /* We have fewer elements, so we start with the BF */