mirror of https://github.com/Icinga/icinga2.git
parent
579d0049f3
commit
d474877add
|
@ -210,9 +210,6 @@ void SocketEvents::Register(Object *lifesupportObject)
|
||||||
|
|
||||||
VERIFY(m_FD != INVALID_SOCKET);
|
VERIFY(m_FD != INVALID_SOCKET);
|
||||||
|
|
||||||
Log(LogWarning, "SocketEvents")
|
|
||||||
<< "Registered socket " << m_FD;
|
|
||||||
|
|
||||||
SocketEventDescriptor desc;
|
SocketEventDescriptor desc;
|
||||||
desc.Events = 0;
|
desc.Events = 0;
|
||||||
desc.EventInterface = this;
|
desc.EventInterface = this;
|
||||||
|
@ -236,9 +233,6 @@ void SocketEvents::Unregister(void)
|
||||||
if (m_FD == INVALID_SOCKET)
|
if (m_FD == INVALID_SOCKET)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Log(LogWarning, "SocketEvents")
|
|
||||||
<< "Unregistered socket " << m_FD;
|
|
||||||
|
|
||||||
l_SocketIOSockets.erase(m_FD);
|
l_SocketIOSockets.erase(m_FD);
|
||||||
m_FD = INVALID_SOCKET;
|
m_FD = INVALID_SOCKET;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue