diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-03-18 17:55:24 +0100 |
---|---|---|
committer | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-03-18 17:55:24 +0100 |
commit | 8cd1e1929db7206937491100a9101022f02d7d64 (patch) | |
tree | 4fe96d86a48d46cc20dd890c23adb7b2b19abf54 | |
parent | c4ccd75504124e816264597fe21c892b33919819 (diff) |
Fixed some bug in the statemaschin implementation of setu
-rw-r--r-- | src/setu/gnunet-service-setu.c | 5 | ||||
-rw-r--r-- | 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); } |