mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
iosource/threading/input/logging: Replace nulls with nullptr
This commit is contained in:
parent
4ee84b69f2
commit
cb01e098df
27 changed files with 154 additions and 156 deletions
|
@ -396,7 +396,7 @@ bool Ascii::DoUpdate()
|
|||
|
||||
Value* val = formatter->ParseValue(stringfields[(*fit).position], (*fit).name, (*fit).type, (*fit).subtype);
|
||||
|
||||
if ( val == 0 )
|
||||
if ( ! val )
|
||||
{
|
||||
Warning(Fmt("Could not convert line '%s' of %s to Val. Ignoring line.", line.c_str(), fname.c_str()));
|
||||
error = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue