From e20a804ff6e94db4ade438c241daf0f77d6838cc Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 27 Feb 2017 03:02:28 +0100 Subject: [PATCH] fix ftbfs from consensus WIP --- src/consensus/gnunet-service-consensus.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/consensus/gnunet-service-consensus.c b/src/consensus/gnunet-service-consensus.c index c56741c67..bfb14996a 100644 --- a/src/consensus/gnunet-service-consensus.c +++ b/src/consensus/gnunet-service-consensus.c @@ -1066,7 +1066,7 @@ set_result_cb (void *cls, { rfn_commit (output_rfn, task_other_peer (task)); } - if (PHASE_KIND_ALL_TO_ALL == task->key->phase) + if (PHASE_KIND_ALL_TO_ALL == task->key.kind) { session->first_size = current_size; } @@ -1339,11 +1339,11 @@ commit_set (struct ConsensusSession *session, } #else - if (PHASE_KIND_ALL_TO_ALL_2 == task->key.kind) - { - struct GNUNET_SET_Element element; - struct ConsensusElement ce = { 0 }; - } + //if (PHASE_KIND_ALL_TO_ALL_2 == task->key.kind) + //{ + // struct GNUNET_SET_Element element; + // struct ConsensusElement ce = { 0 }; + //} if ( (GNUNET_YES == setop->transceive_contested) && (GNUNET_YES == set->is_contested) ) -- 2.25.1