projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a1a0121
)
Merge pull request #1463 from rubenk/redis-fix-build-warning
author
Ruben Kerkhof
<ruben@tilaa.nl>
Sun, 13 Dec 2015 11:36:53 +0000
(12:36 +0100)
committer
Ruben Kerkhof
<ruben@tilaa.nl>
Sun, 13 Dec 2015 11:36:53 +0000
(12:36 +0100)
redis plugin: fix build error on NetBSD
src/redis.c
patch
|
blob
|
history
diff --git
a/src/redis.c
b/src/redis.c
index
a40d2cd
..
9282e19
100644
(file)
--- a/
src/redis.c
+++ b/
src/redis.c
@@
-304,7
+304,7
@@
int redis_handle_info (char *node, char const *info_line, char const *type, char
int i;
str += strlen (field_name) + 1; /* also skip the ':' */
- for(i=0;(*str && (isdigit(*str) || *str == '.'));i++,str++)
+ for(i=0;(*str && (isdigit(
(unsigned char)
*str) || *str == '.'));i++,str++)
buf[i] = *str;
buf[i] ='\0';