Code

do not complain when setting environemnt variable sucessfully. -- hunter@mimuw.edu.pl
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 27 Feb 2005 22:00:54 +0000 (22:00 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 27 Feb 2005 22:00:54 +0000 (22:00 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@298 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_cgi.c

index 610413f0f239635ce329a23d12f427669f9d0f3c..9f8ef5e0a8b4f316dde0dd0020679b548b57fec8 100644 (file)
@@ -392,6 +392,7 @@ char* rrdsetenv(long argc, const char **args) {
                        free(xyz);
                        return stralloc("[ERROR: failed to do putenv]");
                };
+               return stralloc("");
        }
        return stralloc("[ERROR: setenv failed because not enough "
                                        "arguments were defined]");