diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-18 13:40:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-18 13:40:40 +0000 |
commit | 151053e6aea2c91059843885748bbd10ff183e9b (patch) | |
tree | ad9b4af8febf63ec94fc7fd8208d092281f577a7 /src/block | |
parent | 8dc9e1a5048dd74b1ded7551c9e6120e4c0476a5 (diff) | |
download | gnunet-151053e6aea2c91059843885748bbd10ff183e9b.tar.gz gnunet-151053e6aea2c91059843885748bbd10ff183e9b.zip |
-fixing 2253
Diffstat (limited to 'src/block')
-rw-r--r-- | src/block/plugin_block_test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c index 08d3096dc..81e80e3ad 100644 --- a/src/block/plugin_block_test.c +++ b/src/block/plugin_block_test.c | |||
@@ -66,8 +66,11 @@ block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type, | |||
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; |
68 | if (xquery_size != 0) | 68 | if (xquery_size != 0) |
69 | { | ||
70 | GNUNET_break_op (0); | ||
69 | return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; | 71 | return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; |
70 | if (reply_block_size == 0) | 72 | } |
73 | if (NULL == reply_block) | ||
71 | return GNUNET_BLOCK_EVALUATION_REQUEST_VALID; | 74 | return GNUNET_BLOCK_EVALUATION_REQUEST_VALID; |
72 | 75 | ||
73 | if (NULL != bf) | 76 | if (NULL != bf) |