]> granicus.if.org Git - icinga2/commitdiff
Build fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 30 Aug 2013 14:53:14 +0000 (16:53 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 30 Aug 2013 14:53:14 +0000 (16:53 +0200)
lib/icinga/macroprocessor.cpp

index a084e161d3ede772be2d273340e0c8607a6cf4b4..26dbd41f78ff4efe3bcf656810b5151ad2079568 100644 (file)
@@ -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();