--========GMX312861239050495137025
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Hi,
there's a typo in xodtemplate.c, modified 30 Dec 2008 (NSCORE/NSOCRE).
Commit was "More verbosity during config verification":
http://repo.or.cz/w/nagios.git?a=commit ... 3d5ea05657
Regards
Bernd
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surffl ... 1308T4569a
--========GMX312861239050495137025
Content-Type: text/x-patch; charset="iso-8859-15"; name="patch.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="patch.diff"
diff --git a/xdata/xodtemplate.c b/xdata/xodtemplate.c
index 7fca805..2e4d4b5 100644
--- a/xdata/xodtemplate.c
+++ b/xdata/xodtemplate.c
@@ -181,7 +181,7 @@ int xodtemplate_read_config_data(char *main_config_file, int options, int cache,
xodtemplate_current_config_file=0;
xodtemplate_config_files=(char **)malloc(256*sizeof(char **));
if(xodtemplate_config_files==NULL){
-#ifdef NSOCRE
+#ifdef NSCORE
printf("Unable to allocate memory!\n");
#endif
return ERROR;
--========GMX312861239050495137025--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]