[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: core: apply patch from #2292

git at icinga.org git at icinga.org
Sun Feb 5 12:35:57 CET 2012


Module: icinga-core
Branch: mfriedrich/core
Commit: ee2fe6bb430fadacdaf777efceb2a6fd451ed7df
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=ee2fe6bb430fadacdaf777efceb2a6fd451ed7df

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Sun Feb  5 12:35:16 2012 +0100

core: apply patch from #2292

refs #2292

---

 base/checks.c |    1 +
 base/utils.c  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/base/checks.c b/base/checks.c
index f288466..7f76c67 100644
--- a/base/checks.c
+++ b/base/checks.c
@@ -509,6 +509,7 @@ int run_async_service_check(service *svc, int check_options, double latency, int
 	char *temp_buffer = NULL;
 	char *args3 = NULL;
 	SV *plugin_hndlr_cr = NULL; /* perl.h holds typedef struct */
+	STRLEN n_a;
 	int count;
 	int use_epn = FALSE;
 #ifdef aTHX
diff --git a/base/utils.c b/base/utils.c
index ac69edf..577271b 100644
--- a/base/utils.c
+++ b/base/utils.c
@@ -309,6 +309,7 @@ int my_system_r(icinga_macros *mac, char *cmd, int timeout, int *early_timeout,
 	char fname[512] = "";
 	char *args[5] = {"", DO_CLEAN, "", "", NULL };
 	SV *plugin_hndlr_cr = NULL; /* perl.h holds typedef struct */
+	STRLEN n_a;
 	char *perl_output = NULL;
 	int count;
 	int use_epn = FALSE;





More information about the icinga-checkins mailing list