From: Florian Dold Date: Mon, 27 Feb 2017 02:02:28 +0000 (+0100) Subject: fix ftbfs from consensus WIP X-Git-Tag: taler-0.2.1~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e20a804ff6e94db4ade438c241daf0f77d6838cc;p=oweals%2Fgnunet.git fix ftbfs from consensus WIP --- 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) )