mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Deprecate Connection::ConnectionEvent methods
And update usages to Connection::EnqueueEvent
This commit is contained in:
parent
6980f63a91
commit
de47a50dde
6 changed files with 80 additions and 41 deletions
|
@ -499,7 +499,7 @@ void Reporter::DoLog(const char* prefix, EventHandlerPtr event, FILE* out,
|
|||
vl.emplace_back(AdoptRef{}, v);
|
||||
|
||||
if ( conn )
|
||||
conn->EnqueueEvent(event, std::move(vl));
|
||||
conn->EnqueueEvent(event, nullptr, std::move(vl));
|
||||
else
|
||||
mgr.Enqueue(event, std::move(vl));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue