[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: BF bugfix: include mutator in size
From: |
gnunet |
Subject: |
[gnunet] branch master updated: BF bugfix: include mutator in size |
Date: |
Sat, 25 Jun 2022 14:02:03 +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 fa7f0a3a4 BF bugfix: include mutator in size
fa7f0a3a4 is described below
commit fa7f0a3a47b4f35270b83e0835b0632e8ee5f00a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jun 25 14:02:01 2022 +0200
BF bugfix: include mutator in size
---
src/block/bg_bf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/block/bg_bf.c b/src/block/bg_bf.c
index 520d750aa..b79ea3c55 100644
--- a/src/block/bg_bf.c
+++ b/src/block/bg_bf.c
@@ -82,7 +82,7 @@ bf_group_serialize_cb (struct GNUNET_BLOCK_Group *bg,
&gi->bf_mutator,
sizeof (uint32_t));
*raw_data = raw;
- *raw_data_size = gi->bf_size;
+ *raw_data_size = gi->bf_size + sizeof (uint32_t);
return GNUNET_OK;
}
@@ -228,7 +228,7 @@ GNUNET_BLOCK_GROUP_bf_create (void *cls,
* @return #GNUNET_YES if @a hc is (likely) a duplicate
* #GNUNET_NO if @a hc was definitively not in @bg (but now is)
*/
-int
+enum GNUNET_GenericReturnValue
GNUNET_BLOCK_GROUP_bf_test_and_set (struct GNUNET_BLOCK_Group *bg,
const struct GNUNET_HashCode *hc)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: BF bugfix: include mutator in size,
gnunet <=