[Nagios-devel] Minor bug in cgiutils.c reads incorrect config file
Posted: Fri Nov 10, 2006 11:02 am
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=3Dread_all_status_data(DEFAULT_CGI_CONFIG_FILE,READ_PROGRAM_STATUS=
)
;
+
result=3Dread_all_status_data(get_cgi_config_location(),READ_PROGRAM_STAT=
U
S);
printf("\n");
printf("\n");
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
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=3Dread_all_status_data(DEFAULT_CGI_CONFIG_FILE,READ_PROGRAM_STATUS=
)
;
+
result=3Dread_all_status_data(get_cgi_config_location(),READ_PROGRAM_STAT=
U
S);
printf("\n");
printf("\n");
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]