Build fix.

This commit is contained in:
Gunnar Beutner 2013-08-30 16:53:14 +02:00
parent 8df0525e3e
commit 6d89c5201a
1 changed files with 1 additions and 1 deletions

View 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();