aboutsummaryrefslogtreecommitdiff
path: root/src/block/plugin_block_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
commit83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch)
treed0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/block/plugin_block_test.c
parent28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff)
downloadgnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz
gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip
curly wars / auto-indentation
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r--src/block/plugin_block_test.c14
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;