Fix unintentional always-false condition.

This commit is contained in:
Jon Siwek 2013-09-20 14:21:03 -05:00
parent 9033b0384b
commit 4e2e690bff

View file

@ -791,7 +791,7 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
if ( ! v )
return false;
if ( ! v->Type()->Tag() == TYPE_STRING )
if ( v->Type()->Tag() != TYPE_STRING )
{
reporter->Error("path_func did not return string");
Unref(v);