Fix uses of GetBool in bifs to use GetTrue/GetFalse

This commit is contained in:
Tim Wojtulewicz 2020-04-01 11:04:54 -07:00
parent 0d695ac453
commit f4765a49a1
6 changed files with 80 additions and 80 deletions

View file

@ -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.