gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r34450 - gnunet/src/set


From: gnunet
Subject: [GNUnet-SVN] r34450 - gnunet/src/set
Date: Sun, 30 Nov 2014 00:20:26 +0100

Author: grothoff
Date: 2014-11-30 00:20:26 +0100 (Sun, 30 Nov 2014)
New Revision: 34450

Modified:
   gnunet/src/set/gnunet-service-set_intersection.c
Log:
-fix iteration set

Modified: gnunet/src/set/gnunet-service-set_intersection.c
===================================================================
--- gnunet/src/set/gnunet-service-set_intersection.c    2014-11-29 23:15:40 UTC 
(rev 34449)
+++ gnunet/src/set/gnunet-service-set_intersection.c    2014-11-29 23:20:26 UTC 
(rev 34450)
@@ -903,7 +903,7 @@
   {
     /* other peer determined empty set is the intersection,
        remove all elements */
-    GNUNET_CONTAINER_multihashmap_iterate (op->spec->set->elements,
+    GNUNET_CONTAINER_multihashmap_iterate (op->state->my_elements,
                                            &filter_all,
                                            op);
   }
@@ -995,6 +995,7 @@
     /* If the other peer (Alice) has fewer elements than us (Bob),
        we just send the count as Alice should send the first BF */
     send_element_count (op);
+    op->state->phase = PHASE_BF_EXCHANGE;
     return;
   }
   /* We have fewer elements, so we start with the BF */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]