summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81dadfe)
raw | patch | inline | side by side (parent: 81dadfe)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@761 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/rrdcgi.pod | patch | blob | history | |
src/rrd_cgi.c | patch | blob | history |
diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod
index 9860f311ceee382b0c400063dab407324b56b04a..92d1f909015c601fb1adae13eeb9defa6f7a373a 100644 (file)
--- a/doc/rrdcgi.pod
+++ b/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/src/rrd_cgi.c b/src/rrd_cgi.c
index b2195e426e308c0ec18208399d8a16dc139b24c2..490eec1dad914de213115cf839e5c163a1adc431 100644 (file)
--- a/src/rrd_cgi.c
+++ b/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]");
}