X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_graph_helper.c;h=4ccd9a671b69e95abae6a004bb888f6165b2aaec;hp=e7712216e5d15c78f30e7a81fc06a5f373413339;hb=b02eace34f83a08c55830cb05bc55078153e2ba6;hpb=5b2064dee177834d41e3b7051faa7dc6cee85853 diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index e771221..4ccd9a6 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.2.x Copyright Tobias Oetiker, 1997 - 2005 + * RRDtool 1.2rc4 Copyright by Tobi Oetiker, 1997-2005 **************************************************************************** * rrd_graph_helper.c commandline parser functions * this code was probably writtenn by Alex van den Bogaerdt @@ -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;