projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442f435
)
dns plugin: Fix a compile warning.
author
Florian Forster
<octo@huhu.verplant.org>
Wed, 27 May 2009 13:03:12 +0000
(15:03 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 27 May 2009 13:03:12 +0000
(15:03 +0200)
src/dns.c
patch
|
blob
|
history
diff --git
a/src/dns.c
b/src/dns.c
index
bf341a7
..
74fab98
100644
(file)
--- 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);
+ c
onst c
har *str = qtype_str(dns->qtype);
if ((str == NULL) || (str[0] == '#'))
skip = 1;
}