[icinga-checkins] icinga.org: icinga2/master: Bugfix: Add missing parenthesis in function call.

git at icinga.org git at icinga.org
Wed Feb 6 11:39:48 CET 2013


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

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Feb  6 11:39:32 2013 +0100

Bugfix: Add missing parenthesis in function call.

---

 lib/base/utility.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp
index bee1105..42e194a 100644
--- a/lib/base/utility.cpp
+++ b/lib/base/utility.cpp
@@ -507,7 +507,7 @@ bool Utility::Glob(const String& pathSpec, const function<void (const String&)>&
  */
 void Utility::WaitUntil(const function<bool (void)>& predicate)
 {
-	while (!predicate)
+	while (!predicate())
 		Application::GetInstance()->ProcessEvents();
 }
 





More information about the icinga-checkins mailing list