mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fixing unit tests and some minor bugs.
This commit is contained in:
parent
39af63841b
commit
d2118200ea
13 changed files with 25 additions and 21 deletions
|
@ -207,7 +207,8 @@ function default_path_func(id: ID, path: string, rec: any) : string
|
|||
else
|
||||
{
|
||||
# In case there is a logging stream in the global namespace.
|
||||
return to_lower(id_str);
|
||||
# TODO: same bug as above with split and lack of terminating \0
|
||||
return fmt("%s", to_lower(id_str));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -241,8 +242,7 @@ function create_stream(id: ID, stream: Stream) : bool
|
|||
|
||||
function disable_stream(id: ID) : bool
|
||||
{
|
||||
if ( ! __disable_stream(id) )
|
||||
return F;
|
||||
return __disable_stream(id);
|
||||
}
|
||||
|
||||
function add_filter(id: ID, filter: Filter) : bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue