gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: Fixed typo in renaming


From: gnunet
Subject: [gnunet] branch master updated: Fixed typo in renaming
Date: Wed, 17 Feb 2021 17:10:31 +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 2c4bf5674 Fixed typo in renaming
2c4bf5674 is described below

commit 2c4bf5674b7a65f69bb5abc0d2d1e9459ff14649
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Wed Feb 17 17:09:17 2021 +0100

    Fixed typo in renaming
---
 src/setu/gnunet-service-setu.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index e7d9f10fe..833d00257 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -113,7 +113,7 @@ enum UnionOperationPhase
   /**
    * The other peer is decoding the IBF we just sent.
    */
-  PHASE_PASIVE_DECODING,
+  PHASE_PASSIVE_DECODING,
 
   /**
    * The protocol is almost finished, but we still have to flush our message
@@ -1225,7 +1225,7 @@ send_ibf (struct Operation *op,
 
   /* The other peer must decode the IBF, so
    * we're passive. */
-  op->phase = PHASE_PASIVE_DECODING;
+  op->phase = PHASE_PASSIVE_DECODING;
   return GNUNET_OK;
 }
 
@@ -1747,7 +1747,7 @@ check_union_p2p_ibf (void *cls,
       return GNUNET_SYSERR;
     }
   }
-  else if ((op->phase != PHASE_PASIVE_DECODING) &&
+  else if ((op->phase != PHASE_PASSIVE_DECODING) &&
            (op->phase != PHASE_EXPECT_IBF))
   {
     GNUNET_break_op (0);
@@ -1776,7 +1776,7 @@ handle_union_p2p_ibf (void *cls,
 
   buckets_in_message = (ntohs (msg->header.size) - sizeof *msg)
                        / IBF_BUCKET_SIZE;
-  if ((op->phase == PHASE_PASIVE_DECODING) ||
+  if ((op->phase == PHASE_PASSIVE_DECODING) ||
       (op->phase == PHASE_EXPECT_IBF))
   {
     op->phase = PHASE_EXPECT_IBF_CONT;
@@ -2154,7 +2154,7 @@ check_union_p2p_inquiry (void *cls,
   struct Operation *op = cls;
   unsigned int num_keys;
 
-  if (op->phase != PHASE_PASIVE_DECODING)
+  if (op->phase != PHASE_PASSIVE_DECODING)
   {
     GNUNET_break_op (0);
     return GNUNET_SYSERR;
@@ -2437,7 +2437,7 @@ check_union_p2p_offer (void *cls,
   unsigned int num_hashes;
 
   /* look up elements and send them */
-  if ((op->phase != PHASE_PASIVE_DECODING) &&
+  if ((op->phase != PHASE_PASSIVE_DECODING) &&
       (op->phase != PHASE_ACTIVE_DECODING))
   {
     GNUNET_break_op (0);
@@ -2531,7 +2531,7 @@ handle_union_p2p_done (void *cls,
 
   switch (op->phase)
   {
-  case PHASE_PASIVE_DECODING:
+  case PHASE_PASSIVE_DECODING:
     /* We got all requests, but still have to send our elements in response. */
     op->phase = PHASE_FINISH_WAITING;
     LOG (GNUNET_ERROR_TYPE_DEBUG,

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