summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 229299d)
raw | patch | inline | side by side (parent: 229299d)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 26 Jan 2011 08:38:47 +0000 (08:38 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 26 Jan 2011 08:38:47 +0000 (08:38 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@2174 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_cgi.c | patch | blob | history |
diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c
index 22567024a7c538941041718cbd511b0a19407e36..5b5e551102780f14267a933fa69527293309f23b 100644 (file)
--- a/src/rrd_cgi.c
+++ b/src/rrd_cgi.c
val = func(argc, (const char **) args);
free(args);
} else {
- /* unable to parse arguments, undo 0-termination by scanargs */
- for (; argc > 0; argc--) {
- *((args[argc - 1]) - 1) = ' ';
- }
-
/* next call, try parsing at current offset +1 */
end = (*buf) + i + 1;