mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
analyzer: Replace nulls with nullptr
This commit is contained in:
parent
cb01e098df
commit
6897912909
54 changed files with 305 additions and 307 deletions
|
@ -121,7 +121,7 @@ function set_contents_file%(cid: conn_id, direction: count, f: file%): bool
|
|||
function get_contents_file%(cid: conn_id, direction: count%): file
|
||||
%{
|
||||
Connection* c = sessions->FindConnection(cid);
|
||||
BroFile* f = c ? c->GetRootAnalyzer()->GetContentsFile(direction) : 0;
|
||||
BroFile* f = c ? c->GetRootAnalyzer()->GetContentsFile(direction) : nullptr;
|
||||
|
||||
if ( f )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue