WaitForSomething: Ignore EAGAIN

If select ever returns EAGAIN, don't bother complaining.
This commit is contained in:
Daniel Stone 2007-12-05 19:36:59 +00:00
parent b7f3618f39
commit 85dd8efac1

View File

@ -257,7 +257,7 @@ WaitForSomething(int *pClientsReady)
FatalError("WaitForSomething(): select: errno=%d\n",
selecterr);
}
else if (selecterr != EINTR)
else if (selecterr != EINTR && selecterr != EAGAIN)
{
ErrorF("WaitForSomething(): select: errno=%d\n",
selecterr);