mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
Build fix.
This commit is contained in:
parent
8df0525e3e
commit
6d89c5201a
@ -95,7 +95,7 @@ String MacroProcessor::InternalResolveMacros(const String& str, const std::vecto
|
|||||||
Log(LogWarning, "icinga", "Macro '" + name + "' is not defined.");
|
Log(LogWarning, "icinga", "Macro '" + name + "' is not defined.");
|
||||||
|
|
||||||
if (escapeFn)
|
if (escapeFn)
|
||||||
resolved_macro = escapeFn(resolvedMacro);
|
resolved_macro = escapeFn(resolved_macro);
|
||||||
|
|
||||||
result.Replace(pos_first, pos_second - pos_first + 1, resolved_macro);
|
result.Replace(pos_first, pos_second - pos_first + 1, resolved_macro);
|
||||||
offset = pos_first + resolved_macro.GetLength();
|
offset = pos_first + resolved_macro.GetLength();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user