diff options
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r-- | src/block/plugin_block_test.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c index 0c769b837..08d3096dc 100644 --- a/src/block/plugin_block_test.c +++ b/src/block/plugin_block_test.c | |||
@@ -75,14 +75,14 @@ block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type, | |||
75 | GNUNET_CRYPTO_hash (reply_block, reply_block_size, &chash); | 75 | GNUNET_CRYPTO_hash (reply_block, reply_block_size, &chash); |
76 | GNUNET_BLOCK_mingle_hash (&chash, bf_mutator, &mhash); | 76 | GNUNET_BLOCK_mingle_hash (&chash, bf_mutator, &mhash); |
77 | if (NULL != *bf) | 77 | if (NULL != *bf) |
78 | { | 78 | { |
79 | if (GNUNET_YES == GNUNET_CONTAINER_bloomfilter_test (*bf, &mhash)) | 79 | if (GNUNET_YES == GNUNET_CONTAINER_bloomfilter_test (*bf, &mhash)) |
80 | return GNUNET_BLOCK_EVALUATION_OK_DUPLICATE; | 80 | return GNUNET_BLOCK_EVALUATION_OK_DUPLICATE; |
81 | } | 81 | } |
82 | else | 82 | else |
83 | { | 83 | { |
84 | *bf = GNUNET_CONTAINER_bloomfilter_init (NULL, 8, BLOOMFILTER_K); | 84 | *bf = GNUNET_CONTAINER_bloomfilter_init (NULL, 8, BLOOMFILTER_K); |
85 | } | 85 | } |
86 | GNUNET_CONTAINER_bloomfilter_add (*bf, &mhash); | 86 | GNUNET_CONTAINER_bloomfilter_add (*bf, &mhash); |
87 | } | 87 | } |
88 | return GNUNET_BLOCK_EVALUATION_OK_MORE; | 88 | return GNUNET_BLOCK_EVALUATION_OK_MORE; |