Minor bug in cgiutils.c reads incorrect config file
Gaspar, Carson
Carson.Gaspar at gs.com
Fri Nov 10 20:02:50 CET 2006
There's one place left where the code uses DEFAULT_CGI_CONFIG_FILE
instead of get_cgi_config_location():
--- nagios-2.5/cgi/cgiutils.c.DIST 2006-11-10 13:53:25.794049342
-0500
+++ nagios-2.5/cgi/cgiutils.c 2006-11-10 13:54:51.711147275 -0500
@@ -1561,7 +1561,7 @@
int result;
/* read program status */
-
result=read_all_status_data(DEFAULT_CGI_CONFIG_FILE,READ_PROGRAM_STATUS)
;
+
result=read_all_status_data(get_cgi_config_location(),READ_PROGRAM_STATU
S);
printf("<TABLE CLASS='infoBox' BORDER=1 CELLSPACING=0
CELLPADDING=0>\n");
printf("<TR><TD CLASS='infoBox'>\n");
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
More information about the Developers
mailing list