mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -62,13 +62,13 @@ void PktDumper::Opened(const Properties& arg_props)
|
|||
{
|
||||
is_open = true;
|
||||
props = arg_props;
|
||||
DBG_LOG(zeek::DBG_PKTIO, "Opened dumper %s", props.path.c_str());
|
||||
DBG_LOG(DBG_PKTIO, "Opened dumper %s", props.path.c_str());
|
||||
}
|
||||
|
||||
void PktDumper::Closed()
|
||||
{
|
||||
is_open = false;
|
||||
DBG_LOG(zeek::DBG_PKTIO, "Closed dumper %s", props.path.c_str());
|
||||
DBG_LOG(DBG_PKTIO, "Closed dumper %s", props.path.c_str());
|
||||
props.path = "";
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ void PktDumper::Error(const std::string& msg)
|
|||
{
|
||||
errmsg = msg;
|
||||
|
||||
DBG_LOG(zeek::DBG_PKTIO, "Error with dumper %s: %s",
|
||||
DBG_LOG(DBG_PKTIO, "Error with dumper %s: %s",
|
||||
IsOpen() ? props.path.c_str() : "<not open>",
|
||||
msg.c_str());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue