fix ftbfs from consensus WIP
authorFlorian Dold <florian.dold@gmail.com>
Mon, 27 Feb 2017 02:02:28 +0000 (03:02 +0100)
committerFlorian Dold <florian.dold@gmail.com>
Mon, 27 Feb 2017 02:02:35 +0000 (03:02 +0100)
src/consensus/gnunet-service-consensus.c

index c56741c6729993d5e927bbf3bec44191fcdd7766..bfb14996a6e2bd791622516991dd898974eee52b 100644 (file)
@@ -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) )