gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 155/164: Fixed implementaion


From: gnunet
Subject: [gnunet] 155/164: Fixed implementaion
Date: Fri, 30 Jul 2021 15:33:41 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

commit 9cdcc7aa89be8a8c0c3897372300e78cbf5504aa
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Mon Jun 14 10:23:00 2021 +0200

    Fixed implementaion
---
 src/setu/gnunet-service-setu.c          |  2 +-
 src/setu/gnunet-service-setu_protocol.h | 11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index df55e9589..4a891986e 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -1109,7 +1109,7 @@ estimate_best_mode_of_operation (uint64_t 
avg_element_size,
                                  * bandwith_latency_tradeoff);
 
   uint64_t full_min = MIN (total_bytes_full_local_send_first,
-                           total_bytes_full_local_send_first);
+                           total_bytes_full_remote_send_first);
 
   /* Decide between full and differential sync */
 
diff --git a/src/setu/gnunet-service-setu_protocol.h 
b/src/setu/gnunet-service-setu_protocol.h
index 055fb7702..d8f34f69c 100644
--- a/src/setu/gnunet-service-setu_protocol.h
+++ b/src/setu/gnunet-service-setu_protocol.h
@@ -71,11 +71,6 @@ struct IBFMessage
    */
   uint32_t ibf_size;
 
-  /**
-  * The bit lenght of the counter
-   */
-  uint8_t ibf_counter_bit_length;
-
   /**
    * Offset of the strata in the rest of the message
    */
@@ -84,8 +79,12 @@ struct IBFMessage
   /**
    * Salt used when hashing elements for this IBF.
    */
-  uint32_t salt GNUNET_PACKED;
+  uint16_t salt GNUNET_PACKED;
 
+  /**
+   * The bit lenght of the counter
+   */
+  uint16_t ibf_counter_bit_length;
   /* rest: buckets */
 };
 /**

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