mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38: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
|
@ -192,7 +192,7 @@ function Cluster::publish_rr%(pool: Pool, key: string, ...%): bool
|
|||
auto topic = topic_func->Call(vl);
|
||||
|
||||
if ( ! topic->AsString()->Len() )
|
||||
return val_mgr->GetFalse();
|
||||
return val_mgr->False();
|
||||
|
||||
const auto& bif_args = @ARGS@;
|
||||
val_list args(bif_args->size() - 2);
|
||||
|
@ -229,7 +229,7 @@ function Cluster::publish_hrw%(pool: Pool, key: any, ...%): bool
|
|||
auto topic = topic_func->Call(vl);
|
||||
|
||||
if ( ! topic->AsString()->Len() )
|
||||
return val_mgr->GetFalse();
|
||||
return val_mgr->False();
|
||||
|
||||
const auto& bif_args = @ARGS@;
|
||||
val_list args(bif_args->size() - 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue