From 740b30688bd745a527f96f9116c19acb3480971a Mon Sep 17 00:00:00 2001 From: Bertrand Marc Date: Wed, 6 Jun 2012 20:47:48 +0200 Subject: Imported Upstream version 0.9.3 --- src/block/plugin_block_test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/block/plugin_block_test.c') diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c index 08d3096..81e80e3 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, if (type != GNUNET_BLOCK_TYPE_TEST) return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; if (xquery_size != 0) + { + GNUNET_break_op (0); return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; - if (reply_block_size == 0) + } + if (NULL == reply_block) return GNUNET_BLOCK_EVALUATION_REQUEST_VALID; if (NULL != bf) -- cgit v1.2.3-18-g5258