mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +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 )
|
||||
return false;
|
||||
|
||||
if ( ! v->Type()->Tag() == TYPE_STRING )
|
||||
if ( v->Type()->Tag() != TYPE_STRING )
|
||||
{
|
||||
reporter->Error("path_func did not return string");
|
||||
Unref(v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue