Move Reporter to zeek namespace

This commit is contained in:
Tim Wojtulewicz 2020-07-20 10:57:36 -07:00
parent 7cedd94ee7
commit bfab224d7c
132 changed files with 1010 additions and 987 deletions

View file

@ -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);
}