mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
bug fix for delayed logging
This commit is contained in:
parent
84b2e493a1
commit
ead4b681aa
1 changed files with 1 additions and 1 deletions
|
@ -1194,7 +1194,7 @@ ValPtr Manager::Delay(const EnumValPtr& id, const RecordValPtr record, FuncPtr p
|
|||
}
|
||||
|
||||
const auto& active_write_ctx = active_writes.back();
|
||||
if ( active_write_ctx.id != id || active_write_ctx.record != record ) {
|
||||
if ( active_write_ctx.id->Get() != id->Get() || active_write_ctx.record != record ) {
|
||||
reporter->Error("invalid Log::delay() call: argument mismatch with active Log::write()");
|
||||
return make_intrusive<detail::LogDelayTokenVal>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue