diff options
author | Florian Dold <florian.dold@gmail.com> | 2013-05-15 10:48:55 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2013-05-15 10:48:55 +0000 |
commit | 6f54b50858457dfa2b5f0b519fbf230e1119c6b2 (patch) | |
tree | 5f84bfa599cb50522999cad892344e2fecbfa963 /src/set/ibf.c | |
parent | 6625c27a83831b61a80683f4385b6a90b9a45b31 (diff) | |
download | gnunet-6f54b50858457dfa2b5f0b519fbf230e1119c6b2.tar.gz gnunet-6f54b50858457dfa2b5f0b519fbf230e1119c6b2.zip |
test cases for mq, set works
Diffstat (limited to 'src/set/ibf.c')
-rw-r--r-- | src/set/ibf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/set/ibf.c b/src/set/ibf.c index 739b97339..383ce3daf 100644 --- a/src/set/ibf.c +++ b/src/set/ibf.c | |||
@@ -280,6 +280,7 @@ ibf_read_slice (const void *buf, uint32_t start, uint32_t count, struct Invertib | |||
280 | struct IBF_KeyHash *key_hash_src; | 280 | struct IBF_KeyHash *key_hash_src; |
281 | struct IBF_Count *count_src; | 281 | struct IBF_Count *count_src; |
282 | 282 | ||
283 | GNUNET_assert (count > 0); | ||
283 | GNUNET_assert (start + count <= ibf->size); | 284 | GNUNET_assert (start + count <= ibf->size); |
284 | 285 | ||
285 | /* copy keys */ | 286 | /* copy keys */ |