From e0a4797e49a43106098679062d89d6617640b8e6 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@761 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/doc/rrdcgi.pod | 2 +- program/src/rrd_cgi.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/program/doc/rrdcgi.pod b/program/doc/rrdcgi.pod index 9860f311..92d1f909 100644 --- a/program/doc/rrdcgi.pod +++ b/program/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/program/src/rrd_cgi.c b/program/src/rrd_cgi.c index b2195e42..490eec1d 100644 --- a/program/src/rrd_cgi.c +++ b/program/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.30.2