aboutsummaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-20 09:36:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-20 09:36:46 +0000
commiteef168bdbf40609b944dada415fc536e15cac494 (patch)
tree08329844b8cb22d59076fe95cad34aa7c765fb03 /src/block
parent35ccea1832738e6d4f345ee0d305ccf3c5184266 (diff)
downloadgnunet-eef168bdbf40609b944dada415fc536e15cac494.tar.gz
gnunet-eef168bdbf40609b944dada415fc536e15cac494.zip
-towards block plugin for mesh
Diffstat (limited to 'src/block')
-rw-r--r--src/block/plugin_block_test.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c
index e6b4f4960..dacf04535 100644
--- a/src/block/plugin_block_test.c
+++ b/src/block/plugin_block_test.c
@@ -28,8 +28,6 @@
28#include "platform.h" 28#include "platform.h"
29#include "gnunet_block_plugin.h" 29#include "gnunet_block_plugin.h"
30 30
31#define DEBUG_TEST GNUNET_EXTRA_LOGGING
32
33 31
34/** 32/**
35 * Number of bits we set per entry in the bloomfilter. 33 * Number of bits we set per entry in the bloomfilter.
@@ -63,9 +61,9 @@ block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
63 struct GNUNET_HashCode chash; 61 struct GNUNET_HashCode chash;
64 struct GNUNET_HashCode mhash; 62 struct GNUNET_HashCode mhash;
65 63
66 if (type != GNUNET_BLOCK_TYPE_TEST) 64 if ( GNUNET_BLOCK_TYPE_TEST != type)
67 return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; 65 return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED;
68 if (xquery_size != 0) 66 if (0 != xquery_size)
69 { 67 {
70 GNUNET_break_op (0); 68 GNUNET_break_op (0);
71 return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; 69 return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID;