aboutsummaryrefslogtreecommitdiff
path: root/src/block/plugin_block_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r--src/block/plugin_block_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c
index 81e80e3ad..e6b4f4960 100644
--- a/src/block/plugin_block_test.c
+++ b/src/block/plugin_block_test.c
@@ -54,14 +54,14 @@
54 */ 54 */
55static enum GNUNET_BLOCK_EvaluationResult 55static enum GNUNET_BLOCK_EvaluationResult
56block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type, 56block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
57 const GNUNET_HashCode * query, 57 const struct GNUNET_HashCode * query,
58 struct GNUNET_CONTAINER_BloomFilter **bf, 58 struct GNUNET_CONTAINER_BloomFilter **bf,
59 int32_t bf_mutator, const void *xquery, 59 int32_t bf_mutator, const void *xquery,
60 size_t xquery_size, const void *reply_block, 60 size_t xquery_size, const void *reply_block,
61 size_t reply_block_size) 61 size_t reply_block_size)
62{ 62{
63 GNUNET_HashCode chash; 63 struct GNUNET_HashCode chash;
64 GNUNET_HashCode mhash; 64 struct GNUNET_HashCode mhash;
65 65
66 if (type != GNUNET_BLOCK_TYPE_TEST) 66 if (type != GNUNET_BLOCK_TYPE_TEST)
67 return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; 67 return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED;
@@ -106,7 +106,7 @@ block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
106static int 106static int
107block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type, 107block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type,
108 const void *block, size_t block_size, 108 const void *block, size_t block_size,
109 GNUNET_HashCode * key) 109 struct GNUNET_HashCode * key)
110{ 110{
111 /* always fails since there is no fixed relationship between 111 /* always fails since there is no fixed relationship between
112 * keys and values for test values */ 112 * keys and values for test values */