diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-21 14:04:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-21 14:04:04 +0000 |
commit | 3bc771a2c433b63b9156d16806edb89c12f1bf0e (patch) | |
tree | 9fdb5598beae17ad2a724f1cd96cbd4200b68ef5 /src/consensus | |
parent | edf376bcc966ee3c2f7fc43e9960bb903f4da29b (diff) |
-nicer
Diffstat (limited to 'src/consensus')
-rw-r--r-- | src/consensus/ibf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/consensus/ibf.c b/src/consensus/ibf.c index 1f4e48c294..4f1aca9397 100644 --- a/src/consensus/ibf.c +++ b/src/consensus/ibf.c @@ -134,7 +134,8 @@ ibf_insert_on_side (struct InvertibleBloomFilter *ibf, unsigned int j; int collided; - if ((i % 16) == 0) + if ( (0 != i) && + (0 == (i % 16)) ) GNUNET_CRYPTO_hash (&bucket_indices, sizeof (struct GNUNET_HashCode), &bucket_indices); |