mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +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
|
@ -14,8 +14,8 @@ static void pipe_fail(int eno)
|
|||
char tmp[256];
|
||||
bro_strerror_r(eno, tmp, sizeof(tmp));
|
||||
|
||||
if ( reporter )
|
||||
reporter->FatalError("Pipe failure: %s", tmp);
|
||||
if ( zeek::reporter )
|
||||
zeek::reporter->FatalError("Pipe failure: %s", tmp);
|
||||
else
|
||||
fprintf(stderr, "Pipe failure: %s", tmp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue