From 167bffd2b5bf257dd828feac05d4dbe32478ad98 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 8 Feb 2006 11:35:10 +0000 Subject: [PATCH] OS and COPYRIGHT removed from the rrdcgi INTERNAL function since we do not have this info git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@761 a5681a0c-68f1-0310-ab6d-d61299d08faa --- doc/rrdcgi.pod | 2 +- src/rrd_cgi.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod index 9860f31..92d1f90 100644 --- a/doc/rrdcgi.pod +++ b/doc/rrdcgi.pod @@ -141,7 +141,7 @@ number of the B argument. This first B has I 0. =item RRD::INTERNAL 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 b2195e4..490eec1 100644 --- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -550,12 +550,8 @@ char* rrdgetinternal(long argc, const char **args){ 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]"); } -- 2.11.0