Fixing unit tests and some minor bugs.

This commit is contained in:
Jon Siwek 2011-09-22 12:42:16 -05:00
parent 39af63841b
commit d2118200ea
13 changed files with 25 additions and 21 deletions

View file

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