mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Check for failure when registering event manager with iosource manager (Coverity 1419398)
This commit is contained in:
parent
20eb0e15c7
commit
12230ceb83
1 changed files with 2 additions and 1 deletions
|
@ -234,5 +234,6 @@ void EventMgr::Process()
|
|||
void EventMgr::InitPostScript()
|
||||
{
|
||||
iosource_mgr->Register(this, true, false);
|
||||
iosource_mgr->RegisterFd(queue_flare.FD(), this);
|
||||
if ( ! iosource_mgr->RegisterFd(queue_flare.FD(), this) )
|
||||
reporter->FatalError("Failed to register event manager FD with iosource_mgr");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue