1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 18:26:39 +02:00

Ignore EINTR error from poll()

This commit is contained in:
Adam
2011-01-08 03:35:04 -05:00
parent a674d81caf
commit 2ba97aee6c
2 changed files with 6 additions and 3 deletions
@@ -116,9 +116,10 @@ class SocketEngineEPoll : public SocketEngineBase
Anope::CurTime = time(NULL);
/* EINTR can be given if the read timeout expires */
if (total == -1 && errno != EINTR)
if (total == -1)
{
Log() << "SockEngine::Process(): error: " << Anope::LastError();
if (errno != EINTR)
Log() << "SockEngine::Process(): error: " << Anope::LastError();
return;
}