summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75fb969)
raw | patch | inline | side by side (parent: 75fb969)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@879 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_graph_helper.c | patch | blob | history |
diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c
index b171f84ca8a9f9ee011ac523902484a3834df609..793163c94751af16a946b05e854d5a75dc23c841 100644 (file)
--- a/src/rrd_graph_helper.c
+++ b/src/rrd_graph_helper.c
@@ -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;
}