aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-03-18 17:55:24 +0100
committerElias Summermatter <elias.summermatter@seccom.ch>2021-03-18 17:55:24 +0100
commit8cd1e1929db7206937491100a9101022f02d7d64 (patch)
tree4fe96d86a48d46cc20dd890c23adb7b2b19abf54
parentc4ccd75504124e816264597fe21c892b33919819 (diff)
downloadgnunet-8cd1e1929db7206937491100a9101022f02d7d64.tar.gz
gnunet-8cd1e1929db7206937491100a9101022f02d7d64.zip
Fixed some bug in the statemaschin implementation of setu
-rw-r--r--src/setu/gnunet-service-setu.c5
-rw-r--r--src/setu/test_setu_api.c4
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,
2302 2302
2303 switch (op->phase) 2303 switch (op->phase)
2304 { 2304 {
2305 case PHASE_EXPECT_IBF: 2305 case PHASE_FULL_RECEIVING:
2306 { 2306 {
2307 struct GNUNET_MQ_Envelope *ev; 2307 struct GNUNET_MQ_Envelope *ev;
2308 2308
@@ -2332,10 +2332,9 @@ handle_union_p2p_full_done (void *cls,
2332 _GSS_operation_destroy2 (op); 2332 _GSS_operation_destroy2 (op);
2333 return; 2333 return;
2334 } 2334 }
2335 break;
2336 2335
2337 default: 2336 default:
2338 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 2337 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
2339 "Handle full done phase is %u\n", 2338 "Handle full done phase is %u\n",
2340 (unsigned) op->phase); 2339 (unsigned) op->phase);
2341 GNUNET_break_op (0); 2340 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,
392 /* test the real set reconciliation */ 392 /* test the real set reconciliation */
393 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 393 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
394 "Running real set-reconciliation\n"); 394 "Running real set-reconciliation\n");
395 //init_set1 (); 395 init_set1 ();
396 // limit ~23800 element total 396 // limit ~23800 element total
397 initRandomSets(9990,9997,9997,32); 397 //initRandomSets(9990,9997,9997,32);
398} 398}
399 399
400 400