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) | |
download | gnunet-3bc771a2c433b63b9156d16806edb89c12f1bf0e.tar.gz gnunet-3bc771a2c433b63b9156d16806edb89c12f1bf0e.zip |
-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 1f4e48c29..4f1aca939 100644 --- a/src/consensus/ibf.c +++ b/src/consensus/ibf.c | |||
@@ -134,7 +134,8 @@ ibf_insert_on_side (struct InvertibleBloomFilter *ibf, | |||
134 | unsigned int j; | 134 | unsigned int j; |
135 | int collided; | 135 | int collided; |
136 | 136 | ||
137 | if ((i % 16) == 0) | 137 | if ( (0 != i) && |
138 | (0 == (i % 16)) ) | ||
138 | GNUNET_CRYPTO_hash (&bucket_indices, sizeof (struct GNUNET_HashCode), | 139 | GNUNET_CRYPTO_hash (&bucket_indices, sizeof (struct GNUNET_HashCode), |
139 | &bucket_indices); | 140 | &bucket_indices); |
140 | 141 | ||