gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: Renamed Phase Expect IBF Cont -> Expect


From: gnunet
Subject: [gnunet] branch master updated: Renamed Phase Expect IBF Cont -> Expect IBF Last
Date: Wed, 17 Feb 2021 17:33:39 +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 d5bf65f2b Renamed Phase Expect IBF Cont -> Expect IBF Last
d5bf65f2b is described below

commit d5bf65f2bf7edea40b6f4250227d6c1711913f71
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Wed Feb 17 17:32:23 2021 +0100

    Renamed Phase Expect IBF Cont -> Expect IBF Last
---
 src/setu/gnunet-service-setu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index ccb341620..7ddece8e8 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -103,7 +103,7 @@ enum UnionOperationPhase
   /**
    * Continuation for multi part IBFs.
    */
-  PHASE_EXPECT_IBF_CONT,
+  PHASE_EXPECT_IBF_LAST,
 
   /**
    * We are decoding an IBF.
@@ -1729,7 +1729,7 @@ check_union_p2p_ibf (void *cls,
     GNUNET_break_op (0);
     return GNUNET_SYSERR;
   }
-  if (op->phase == PHASE_EXPECT_IBF_CONT)
+  if (op->phase == PHASE_EXPECT_IBF_LAST)
   {
     if (ntohl (msg->offset) != op->ibf_buckets_received)
     {
@@ -1779,7 +1779,7 @@ handle_union_p2p_ibf (void *cls,
   if ((op->phase == PHASE_PASSIVE_DECODING) ||
       (op->phase == PHASE_EXPECT_IBF))
   {
-    op->phase = PHASE_EXPECT_IBF_CONT;
+    op->phase = PHASE_EXPECT_IBF_LAST;
     GNUNET_assert (NULL == op->remote_ibf);
     LOG (GNUNET_ERROR_TYPE_DEBUG,
          "Creating new ibf of size %u\n",
@@ -1806,7 +1806,7 @@ handle_union_p2p_ibf (void *cls,
   }
   else
   {
-    GNUNET_assert (op->phase == PHASE_EXPECT_IBF_CONT);
+    GNUNET_assert (op->phase == PHASE_EXPECT_IBF_LAST);
     LOG (GNUNET_ERROR_TYPE_DEBUG,
          "Received more of IBF\n");
   }

-- 
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]