projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbi plugin: remove assignment with no effect
[collectd.git]
/
src
/
collectdctl.c
diff --git
a/src/collectdctl.c
b/src/collectdctl.c
index
7d3cbce
..
ee11c45
100644
(file)
--- a/
src/collectdctl.c
+++ b/
src/collectdctl.c
@@
-483,7
+483,7
@@
static int putval (lcc_connection_t *c, int argc, char **argv)
values_len = 0;
value = tmp;
- while (value !=
0
) {
+ while (value !=
NULL
) {
char *dot, *endptr;
tmp = strchr (value, (int)':');