projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: replace memset to 0 with initializers
[collectd.git]
/
src
/
utils_dns.c
diff --git
a/src/utils_dns.c
b/src/utils_dns.c
index
dfced5c
..
a1e4222
100644
(file)
--- a/
src/utils_dns.c
+++ b/
src/utils_dns.c
@@
-291,7
+291,7
@@
rfc1035NameUnpack(const char *buf, size_t sz, off_t * off, char *name, size_t ns
static int loop_detect = 0;
if (loop_detect > 2)
return 4; /* compression loop */
- if (ns
<
= 0)
+ if (ns
=
= 0)
return 4; /* probably compression loop */
do {
if ((*off) >= ((off_t) sz))