mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Move Reporter to zeek namespace
This commit is contained in:
parent
7cedd94ee7
commit
bfab224d7c
132 changed files with 1010 additions and 987 deletions
|
@ -163,7 +163,7 @@ void WriterFrontend::Init(int arg_num_fields, const Field* const * arg_fields)
|
|||
return;
|
||||
|
||||
if ( initialized )
|
||||
reporter->InternalError("writer initialize twice");
|
||||
zeek::reporter->InternalError("writer initialize twice");
|
||||
|
||||
num_fields = arg_num_fields;
|
||||
fields = arg_fields;
|
||||
|
@ -201,7 +201,8 @@ void WriterFrontend::Write(int arg_num_fields, Value** vals)
|
|||
|
||||
if ( arg_num_fields != num_fields )
|
||||
{
|
||||
reporter->Warning("WriterFrontend %s expected %d fields in write, got %d. Skipping line.", name, num_fields, arg_num_fields);
|
||||
zeek::reporter->Warning("WriterFrontend %s expected %d fields in write, got %d. Skipping line.",
|
||||
name, num_fields, arg_num_fields);
|
||||
DeleteVals(arg_num_fields, vals);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue