aboutsummaryrefslogtreecommitdiff
path: root/src/dns/plugin_block_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/plugin_block_dns.c')
-rw-r--r--src/dns/plugin_block_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns/plugin_block_dns.c b/src/dns/plugin_block_dns.c
index dc339dd25..8c6ec93ee 100644
--- a/src/dns/plugin_block_dns.c
+++ b/src/dns/plugin_block_dns.c
@@ -69,7 +69,7 @@ block_plugin_dns_evaluate (void *cls,
69 if (0 != xquery_size) 69 if (0 != xquery_size)
70 return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID; 70 return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID;
71 71
72 if (0 == reply_block_size) 72 if (NULL == reply_block)
73 return GNUNET_BLOCK_EVALUATION_REQUEST_VALID; 73 return GNUNET_BLOCK_EVALUATION_REQUEST_VALID;
74 74
75 if (sizeof (struct GNUNET_DNS_Advertisement) != reply_block_size) 75 if (sizeof (struct GNUNET_DNS_Advertisement) != reply_block_size)