[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: always initialize HT upon s
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: always initialize HT upon state creation |
Date: |
Sun, 12 Mar 2017 17:16:56 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new a2ac01f46 always initialize HT upon state creation
a2ac01f46 is described below
commit a2ac01f46c4d57034b5d40201b29701ff95b456a
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 12 17:16:53 2017 +0100
always initialize HT upon state creation
---
src/set/gnunet-service-set_intersection.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/set/gnunet-service-set_intersection.c
b/src/set/gnunet-service-set_intersection.c
index b298f7b41..bb369a81f 100644
--- a/src/set/gnunet-service-set_intersection.c
+++ b/src/set/gnunet-service-set_intersection.c
@@ -849,10 +849,6 @@ static void
begin_bf_exchange (struct Operation *op)
{
op->state->phase = PHASE_BF_EXCHANGE;
- GNUNET_assert (NULL == op->state->my_elements);
- op->state->my_elements
- = GNUNET_CONTAINER_multihashmap_create (op->state->my_element_count,
- GNUNET_YES);
GNUNET_CONTAINER_multihashmap_iterate (op->spec->set->content->elements,
&initialize_map_unfiltered,
op);
@@ -1034,6 +1030,9 @@ intersection_evaluate (struct Operation *op,
/* we started the operation, thus we have to send the operation request */
op->state->phase = PHASE_INITIAL;
op->state->my_element_count =
op->spec->set->state->current_set_element_count;
+ op->state->my_elements
+ = GNUNET_CONTAINER_multihashmap_create (op->state->my_element_count,
+ GNUNET_YES);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Initiating intersection operation evaluation\n");
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: always initialize HT upon state creation,
gnunet <=