projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'sh/next'
[collectd.git]
/
src
/
utils_dns.c
diff --git
a/src/utils_dns.c
b/src/utils_dns.c
index
f2ab337
..
c16ca52
100644
(file)
--- a/
src/utils_dns.c
+++ b/
src/utils_dns.c
@@
-391,7
+391,7
@@
handle_dns(const char *buf, int len,
while ((t = strchr(qh.qname, '\r')))
*t = ' ';
for (t = qh.qname; *t; t++)
- *t = tolower(*t);
+ *t = tolower(
(int)
*t);
memcpy(&us, buf + offset, 2);
qh.qtype = ntohs(us);