mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Fix unintentional always-false condition.
This commit is contained in:
parent
9033b0384b
commit
4e2e690bff
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
|
||||||
if ( ! v )
|
if ( ! v )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( ! v->Type()->Tag() == TYPE_STRING )
|
if ( v->Type()->Tag() != TYPE_STRING )
|
||||||
{
|
{
|
||||||
reporter->Error("path_func did not return string");
|
reporter->Error("path_func did not return string");
|
||||||
Unref(v);
|
Unref(v);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue