From 722d00817c110d532b38504088cc9847d8eee9ed Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 27 May 2009 15:03:12 +0200 Subject: [PATCH] dns plugin: Fix a compile warning. --- src/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns.c b/src/dns.c index bf341a7a..74fab98d 100644 --- a/src/dns.c +++ b/src/dns.c @@ -182,7 +182,7 @@ static void dns_child_callback (const rfc1035_header_t *dns) int skip = 0; if (!select_numeric_qtype) { - char *str = qtype_str(dns->qtype); + const char *str = qtype_str(dns->qtype); if ((str == NULL) || (str[0] == '#')) skip = 1; } -- 2.30.2