[icinga-checkins] icinga.org: icinga2/master: Fix missing names for user-defined functions

git at icinga.org git at icinga.org
Thu Aug 11 09:09:14 CEST 2016


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

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Aug 10 16:42:21 2016 +0200

Fix missing names for user-defined functions

refs #12393

---

 lib/config/expression.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/config/expression.hpp b/lib/config/expression.hpp
index 7db4b11..226b1b9 100644
--- a/lib/config/expression.hpp
+++ b/lib/config/expression.hpp
@@ -792,7 +792,7 @@ class I2_CONFIG_API FunctionExpression : public DebuggableExpression
 public:
 	FunctionExpression(const String& name, const std::vector<String>& args,
 	    std::map<String, Expression *> *closedVars, Expression *expression, const DebugInfo& debugInfo = DebugInfo())
-		: DebuggableExpression(debugInfo), m_Args(args), m_ClosedVars(closedVars), m_Expression(expression)
+		: DebuggableExpression(debugInfo), m_Args(args), m_Name(name), m_ClosedVars(closedVars), m_Expression(expression)
 	{ }
 
 protected:



More information about the icinga-checkins mailing list