[icinga-checkins] icinga.org: icinga2/master: Build fix.

git at icinga.org git at icinga.org
Sat Feb 9 19:12:36 CET 2013


Module: icinga2
Branch: master
Commit: 08f6e6178a1e522e14ef250163b5235c4bb96a9b
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=08f6e6178a1e522e14ef250163b5235c4bb96a9b

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sat Feb  9 19:12:30 2013 +0100

Build fix.

---

 lib/icinga/host.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/icinga/host.cpp b/lib/icinga/host.cpp
index 41f6c28..7420993 100644
--- a/lib/icinga/host.cpp
+++ b/lib/icinga/host.cpp
@@ -437,9 +437,9 @@ Dictionary::Ptr Host::CalculateDynamicMacros(void) const
 
 	if (hostcheck) {
 		macros->Set("HOSTSTATEID", 99);
-		macros->Set("HOSTSTATETYPE", Service::StateTypeToString(hostcheck->GetStateType());
-		macros->Set("HOSTATTEMPT", hostcheck->GetCurrentAttempt());
-		macros->Set("MAXHOSTATTEMPT", hostcheck->GetMaxAttempts());
+		macros->Set("HOSTSTATETYPE", Service::StateTypeToString(hostcheck->GetStateType()));
+		macros->Set("HOSTATTEMPT", hostcheck->GetCurrentCheckAttempt());
+		macros->Set("MAXHOSTATTEMPT", hostcheck->GetMaxCheckAttempts());
 	}
 
 	return macros;





More information about the icinga-checkins mailing list