mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Fix uses of GetBool in bifs to use GetTrue/GetFalse
This commit is contained in:
parent
0d695ac453
commit
f4765a49a1
6 changed files with 80 additions and 80 deletions
|
@ -99,10 +99,10 @@ function set_contents_file%(cid: conn_id, direction: count, f: file%): bool
|
|||
%{
|
||||
Connection* c = sessions->FindConnection(cid);
|
||||
if ( ! c )
|
||||
return val_mgr->GetBool(0);
|
||||
return val_mgr->GetFalse();
|
||||
|
||||
c->GetRootAnalyzer()->SetContentsFile(direction, f);
|
||||
return val_mgr->GetBool(1);
|
||||
return val_mgr->GetTrue();
|
||||
%}
|
||||
|
||||
## Returns the file handle of the contents file of a connection.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue