summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8cd21a0)
raw | patch | inline | side by side (parent: 8cd21a0)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 15 Aug 2006 05:44:54 +0000 (05:44 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 15 Aug 2006 05:44:54 +0000 (05:44 +0000) |
program/src/rrd_graph_helper.c | patch | blob | history |
index b171f84ca8a9f9ee011ac523902484a3834df609..793163c94751af16a946b05e854d5a75dc23c841 100644 (file)
@@ -133,6 +133,10 @@ rrd_parse_find_gf(const char *const line, unsigned int *const eaten, graph_desc_
rrd_set_error("Malformed '%s' command in line '%s'\n",&line[*eaten],line);
return 1;
}
+ if (line[*eaten] == '\0') {
+ rrd_set_error("Expected some arguments after '%s'\n",line);
+ return 1;
+ }
return 0;
}