summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41c0dec)
raw | patch | inline | side by side (parent: 41c0dec)
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) |
program/src/rrd_cgi.c | patch | blob | history |
diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c
index e8e4f71982460e21c59feb309f1f16d768d9431c..7267cd6cb95447c0e9c7de59d02cf383947258a7 100644 (file)
--- a/program/src/rrd_cgi.c
+++ b/program/src/rrd_cgi.c
val = func(argc, (const char **) args);
free(args-1);
} 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;