summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1ba273)
raw | patch | inline | side by side (parent: f1ba273)
author | Florian Forster <octo@collectd.org> | |
Thu, 19 Apr 2012 12:25:59 +0000 (14:25 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 19 Apr 2012 12:25:59 +0000 (14:25 +0200) |
Thanks to Cyril Feraudet for pointing out this problem!
src/collectdctl.c | patch | blob | history |
diff --git a/src/collectdctl.c b/src/collectdctl.c
index 3bd8f0410f846ddf21130bf93ac8059555a7c269..61b7fc55e2c24ff880730580abf2d48e0e0f571d 100644 (file)
--- a/src/collectdctl.c
+++ b/src/collectdctl.c
while (value != 0) {
char *dot, *endptr;
- tmp = strchr (argv[i], (int)':');
+ tmp = strchr (value, (int)':');
if (tmp != NULL) {
*tmp = '\0';