X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph_helper.c;h=55185c93594d8c0662c57daa7202caa9ccfb8deb;hb=47fa927b5b6eda596232bda869da018a68cf2198;hp=e7712216e5d15c78f30e7a81fc06a5f373413339;hpb=5b2064dee177834d41e3b7051faa7dc6cee85853;p=rrdtool.git diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index e771221..55185c9 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -175,7 +175,7 @@ rrd_parse_shift(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc_t char *l = strdup(line + *eaten), *p; int rc = 1; - p = strchr(l, ','); + p = strchr(l, ':'); if (p == NULL) { rrd_set_error("Invalid SHIFT syntax"); goto out;