[Nagios-devel] [PATCH] ndoutils: fix setting hosts retry_interval
Posted: Mon Apr 06, 2009 6:46 am
--TiqCXmo5T1hvSQQg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
Due to a typo in the preprocessor token the retry_interval was never set to
what was intended.
--TiqCXmo5T1hvSQQg
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename="ndoutils-ndomod_broker_data-retry_interval.01.patch"
------------------------------------------------------------------------
r70 | aldot | 2009-04-01 14:23:53 +0200 (Wed, 01 Apr 2009) | 3 lines
- fix setting hosts retry_interval in NEBCALLBACK_HOST_STATUS_DATA
(typo in preprocessor directive)
------------------------------------------------------------------------
Index: src/ndomod.c
===================================================================
--- src/ndomod.c (revision 69)
+++ src/ndomod.c (revision 70)
@@ -2033,7 +2033,7 @@ int ndomod_broker_data(int event_type, v
es[4]=ndo_escape_buffer(temp_host->host_check_command);
es[5]=ndo_escape_buffer(temp_host->check_period);
-#ifdef BUILLD_NAGIOS_3X
+#ifdef BUILD_NAGIOS_3X
retry_interval=temp_host->retry_interval;
#endif
#ifdef BUILD_NAGIOS_2X
--TiqCXmo5T1hvSQQg--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]