From 14678cc9ce8da552725134801e7de376e3c60107 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 14 Nov 2012 15:59:49 +0000 Subject: [PATCH] - debug --- src/mesh/mesh_block_lib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesh/mesh_block_lib.c b/src/mesh/mesh_block_lib.c index 61d4607e5..d414a5d81 100644 --- a/src/mesh/mesh_block_lib.c +++ b/src/mesh/mesh_block_lib.c @@ -100,7 +100,10 @@ GNUNET_MESH_regex_block_check (const struct MeshRegexBlock *block, int res; struct mesh_block_xquery_ctx ctx; - if ( (GNUNET_YES == ntohl(block->accepting)) && (xquery[0] == '\0') ) + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "* Checking block with xquery \"%s\"\n", + xquery); + if ( (GNUNET_YES == ntohl(block->accepting)) && ('\0' == xquery[0]) ) return GNUNET_OK; ctx.xquery = xquery; ctx.found = GNUNET_NO; -- 2.25.1