gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix loop


From: gnunet
Subject: [gnunet] branch master updated: -fix loop
Date: Mon, 09 Aug 2021 15:19:10 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 13c49e31c -fix loop
13c49e31c is described below

commit 13c49e31c55e26d3d353c39f45822266202341d8
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Aug 9 15:15:43 2021 +0200

    -fix loop
---
 src/setu/ibf.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/setu/ibf.c b/src/setu/ibf.c
index 8f29adb62..dbd23c320 100644
--- a/src/setu/ibf.c
+++ b/src/setu/ibf.c
@@ -462,11 +462,11 @@ unpack_counter (const struct InvertibleBloomFilter *ibf,
     /**
     * Pack data left in story before finishing
     */
-    while (bit_to_read_left >= 0)
+    while (true)
     {
       /**
-      * Stop decoding when end is reached
-      */
+       * Stop decoding when end is reached
+       */
       if (ibf_counter_ctr > (count - 1))
         return;
 
@@ -504,13 +504,9 @@ unpack_counter (const struct InvertibleBloomFilter *ibf,
           store = store | byte_read;
         }
         break;
-
       }
-
     }
-
   }
-
 }
 
 

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