From 6d89c5201a086dd98ab8437c96260cb69d34df3a Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 30 Aug 2013 16:53:14 +0200 Subject: [PATCH] Build fix. --- lib/icinga/macroprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/macroprocessor.cpp b/lib/icinga/macroprocessor.cpp index a084e161d..26dbd41f7 100644 --- a/lib/icinga/macroprocessor.cpp +++ b/lib/icinga/macroprocessor.cpp @@ -95,7 +95,7 @@ String MacroProcessor::InternalResolveMacros(const String& str, const std::vecto Log(LogWarning, "icinga", "Macro '" + name + "' is not defined."); if (escapeFn) - resolved_macro = escapeFn(resolvedMacro); + resolved_macro = escapeFn(resolved_macro); result.Replace(pos_first, pos_second - pos_first + 1, resolved_macro); offset = pos_first + resolved_macro.GetLength();