gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: Fixed some bug in the statemaschin imple


From: gnunet
Subject: [gnunet] branch master updated: Fixed some bug in the statemaschin implementation of setu
Date: Thu, 18 Mar 2021 17:57:12 +0100

This is an automated email from the git hooks/post-receive script.

elias-summermatter pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 8cd1e1929 Fixed some bug in the statemaschin implementation of setu
8cd1e1929 is described below

commit 8cd1e1929db7206937491100a9101022f02d7d64
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Thu Mar 18 17:55:24 2021 +0100

    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);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]