diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-04-02 15:46:25 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-07-30 16:06:15 +0200 |
commit | ebc70e1bccd6c2f784df8630f1105a91bc7bfeed (patch) | |
tree | bc5963b5c3ad38176120a7b0223e68c0709b41f2 /src/set | |
parent | e8eb1ecc006ffd3d7aa99fc9d3e8d19eedd9d343 (diff) | |
download | gnunet-ebc70e1bccd6c2f784df8630f1105a91bc7bfeed.tar.gz gnunet-ebc70e1bccd6c2f784df8630f1105a91bc7bfeed.zip |
SETU: Implement LSD0003
Diffstat (limited to 'src/set')
-rw-r--r-- | src/set/ibf.c | 2 | ||||
-rw-r--r-- | src/set/ibf.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/set/ibf.c b/src/set/ibf.c index 1532afceb..0f7eb6a9f 100644 --- a/src/set/ibf.c +++ b/src/set/ibf.c | |||
@@ -294,7 +294,7 @@ ibf_write_slice (const struct InvertibleBloomFilter *ibf, uint32_t start, | |||
294 | struct IBF_KeyHash *key_hash_dst; | 294 | struct IBF_KeyHash *key_hash_dst; |
295 | struct IBF_Count *count_dst; | 295 | struct IBF_Count *count_dst; |
296 | 296 | ||
297 | GNUNET_assert (start + count <= ibf->size); | 297 | GNUNET_assert (start + count <= ibf->size); |
298 | 298 | ||
299 | /* copy keys */ | 299 | /* copy keys */ |
300 | key_dst = (struct IBF_Key *) buf; | 300 | key_dst = (struct IBF_Key *) buf; |
diff --git a/src/set/ibf.h b/src/set/ibf.h index 7c2ab33b1..334a797ef 100644 --- a/src/set/ibf.h +++ b/src/set/ibf.h | |||
@@ -245,6 +245,7 @@ void | |||
245 | ibf_destroy (struct InvertibleBloomFilter *ibf); | 245 | ibf_destroy (struct InvertibleBloomFilter *ibf); |
246 | 246 | ||
247 | 247 | ||
248 | |||
248 | #if 0 /* keep Emacsens' auto-indent happy */ | 249 | #if 0 /* keep Emacsens' auto-indent happy */ |
249 | { | 250 | { |
250 | #endif | 251 | #endif |