aboutsummaryrefslogtreecommitdiff
path: root/src/consensus
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-27 03:02:28 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-27 03:02:35 +0100
commite20a804ff6e94db4ade438c241daf0f77d6838cc (patch)
tree1ca92bfc52c29b70226f205172b1db096c7c8ccf /src/consensus
parenteee83a35971446034ac26b9272d9db9bbe7633ee (diff)
fix ftbfs from consensus WIP
Diffstat (limited to 'src/consensus')
-rw-r--r--src/consensus/gnunet-service-consensus.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/consensus/gnunet-service-consensus.c b/src/consensus/gnunet-service-consensus.c
index c56741c672..bfb14996a6 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) )