projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bump version to 4.9.4; Update ChangeLog.
[collectd.git]
/
src
/
snmp.c
diff --git
a/src/snmp.c
b/src/snmp.c
index
693cd89
..
8e72ce6
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-965,7
+965,7
@@
static int csnmp_strvbcopy (char *dst, /* {{{ */
for (i = 0; i < num_chars; i++)
{
/* Check for control characters. */
- if ((
src[i] >= 0) && (src[i] < 32)
)
+ if ((
unsigned char)src[i] < 32
)
return (csnmp_strvbcopy_hexstring (dst, vb, dst_size));
dst[i] = src[i];
}