summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39f0ddf)
raw | patch | inline | side by side (parent: 39f0ddf)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 8 Feb 2006 11:35:10 +0000 (11:35 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 8 Feb 2006 11:35:10 +0000 (11:35 +0000) |
program/doc/rrdcgi.pod | patch | blob | history | |
program/src/rrd_cgi.c | patch | blob | history |
diff --git a/program/doc/rrdcgi.pod b/program/doc/rrdcgi.pod
index 9860f311ceee382b0c400063dab407324b56b04a..92d1f909015c601fb1adae13eeb9defa6f7a373a 100644 (file)
--- a/program/doc/rrdcgi.pod
+++ b/program/doc/rrdcgi.pod
=item RRD::INTERNAL <var>
This tag gets replaced by an internal var. Currently these vars are known:
-VERSION, COPYRIGHT, COMPILETIME, OS.
+VERSION, COMPILETIME.
These vars represent the compiled-in values.
=back
diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c
index b2195e426e308c0ec18208399d8a16dc139b24c2..490eec1dad914de213115cf839e5c163a1adc431 100644 (file)
--- a/program/src/rrd_cgi.c
+++ b/program/src/rrd_cgi.c
if (argc == 1) {
if( strcasecmp( args[0], "VERSION") == 0) {
return stralloc(PACKAGE_VERSION);
- } else if( strcasecmp( args[0], "COPYRIGHT") == 0) {
- return stralloc(PACKAGE_COPYRIGHT);
} else if( strcasecmp( args[0], "COMPILETIME") == 0) {
return stralloc(__DATE__ " " __TIME__);
- } else if( strcasecmp( args[0], "OS") == 0) {
- return stralloc(OS);
} else {
return stralloc("[ERROR: internal unknown argument]");
}