Fix host custom attribute 'address' as runtime macro.

Refs #5855
This commit is contained in:
Michael Friedrich 2014-04-05 19:08:46 +02:00
parent af5990a4f4
commit d3b67cf2ed
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ bool Host::ResolveMacro(const String& macro, const CheckResult::Ptr&, String *re
String value;
if (vars && vars->Contains(macro))
value = vars->Get(key);
value = vars->Get(macro);
if (value.IsEmpty()) {
*result = GetName();