From 8cd1e1929db7206937491100a9101022f02d7d64 Mon Sep 17 00:00:00 2001 From: Elias Summermatter Date: Thu, 18 Mar 2021 17:55:24 +0100 Subject: Fixed some bug in the statemaschin implementation of setu --- src/setu/gnunet-service-setu.c | 5 ++--- src/setu/test_setu_api.c | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c index a7f2030d0..91a5f45a2 100644 --- a/src/setu/gnunet-service-setu.c +++ b/src/setu/gnunet-service-setu.c @@ -2302,7 +2302,7 @@ handle_union_p2p_full_done (void *cls, switch (op->phase) { - case PHASE_EXPECT_IBF: + case PHASE_FULL_RECEIVING: { struct GNUNET_MQ_Envelope *ev; @@ -2332,10 +2332,9 @@ handle_union_p2p_full_done (void *cls, _GSS_operation_destroy2 (op); return; } - break; default: - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Handle full done phase is %u\n", (unsigned) op->phase); GNUNET_break_op (0); diff --git a/src/setu/test_setu_api.c b/src/setu/test_setu_api.c index 02c5ddf87..797e3f534 100644 --- a/src/setu/test_setu_api.c +++ b/src/setu/test_setu_api.c @@ -392,9 +392,9 @@ run (void *cls, /* test the real set reconciliation */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Running real set-reconciliation\n"); - //init_set1 (); + init_set1 (); // limit ~23800 element total - initRandomSets(9990,9997,9997,32); + //initRandomSets(9990,9997,9997,32); } -- cgit v1.2.3