mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38: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
|
@ -15,8 +15,8 @@ PcapDumper::PcapDumper(const std::string& path, bool arg_append)
|
|||
{
|
||||
append = arg_append;
|
||||
props.path = path;
|
||||
dumper = 0;
|
||||
pd = 0;
|
||||
dumper = nullptr;
|
||||
pd = nullptr;
|
||||
}
|
||||
|
||||
PcapDumper::~PcapDumper()
|
||||
|
@ -93,8 +93,8 @@ void PcapDumper::Close()
|
|||
|
||||
pcap_dump_close(dumper);
|
||||
pcap_close(pd);
|
||||
dumper = 0;
|
||||
pd = 0;
|
||||
dumper = nullptr;
|
||||
pd = nullptr;
|
||||
|
||||
Closed();
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ protected:
|
|||
private:
|
||||
void OpenLive();
|
||||
void OpenOffline();
|
||||
void PcapError(const char* where = 0);
|
||||
void PcapError(const char* where = nullptr);
|
||||
|
||||
Properties props;
|
||||
Stats stats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue