aboutsummaryrefslogtreecommitdiff
path: root/src/block/bg_bf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/bg_bf.c')
-rw-r--r--src/block/bg_bf.c4
1 files 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,
82 &gi->bf_mutator, 82 &gi->bf_mutator,
83 sizeof (uint32_t)); 83 sizeof (uint32_t));
84 *raw_data = raw; 84 *raw_data = raw;
85 *raw_data_size = gi->bf_size; 85 *raw_data_size = gi->bf_size + sizeof (uint32_t);
86 return GNUNET_OK; 86 return GNUNET_OK;
87} 87}
88 88
@@ -228,7 +228,7 @@ GNUNET_BLOCK_GROUP_bf_create (void *cls,
228 * @return #GNUNET_YES if @a hc is (likely) a duplicate 228 * @return #GNUNET_YES if @a hc is (likely) a duplicate
229 * #GNUNET_NO if @a hc was definitively not in @bg (but now is) 229 * #GNUNET_NO if @a hc was definitively not in @bg (but now is)
230 */ 230 */
231int 231enum GNUNET_GenericReturnValue
232GNUNET_BLOCK_GROUP_bf_test_and_set (struct GNUNET_BLOCK_Group *bg, 232GNUNET_BLOCK_GROUP_bf_test_and_set (struct GNUNET_BLOCK_Group *bg,
233 const struct GNUNET_HashCode *hc) 233 const struct GNUNET_HashCode *hc)
234{ 234{