Skip to content

Commit

Permalink
Don't escape macros for the macro() function
Browse files Browse the repository at this point in the history
refs #7564
  • Loading branch information
gunnarbeutner committed Jan 29, 2015
1 parent e0be9cd commit c01fb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icinga/macroprocessor.cpp
Expand Up @@ -180,7 +180,7 @@ Value MacroProcessor::EvaluateFunction(const Function::Ptr& func, const Resolver
}

resolvers_this->Set("macro", new Function(boost::bind(&MacroProcessor::InternalResolveMacrosShim,
_1, boost::cref(resolvers), cr, missingMacro, boost::cref(escapeFn), resolvedMacros, useResolvedMacros,
_1, boost::cref(resolvers), cr, missingMacro, MacroProcessor::EscapeCallback(), resolvedMacros, useResolvedMacros,
recursionLevel)));

ScriptFrame frame(resolvers_this);
Expand Down

0 comments on commit c01fb97

Please sign in to comment.