mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Update deprecated ValManager GetTrue/GetFalse usages
This commit is contained in:
parent
202b3f877d
commit
9af84bb2b0
24 changed files with 219 additions and 219 deletions
|
@ -75,9 +75,9 @@ function Files::__analyzer_name%(tag: Files::Tag%) : string
|
|||
function Files::__file_exists%(fuid: string%): bool
|
||||
%{
|
||||
if ( file_mgr->LookupFile(fuid->CheckString()) != nullptr )
|
||||
return val_mgr->GetTrue();
|
||||
return val_mgr->True();
|
||||
else
|
||||
return val_mgr->GetFalse();
|
||||
return val_mgr->False();
|
||||
%}
|
||||
|
||||
## :zeek:see:`Files::lookup_file`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue