Squelch warning on success

This commit is contained in:
Jeremy Lakeman 2013-09-24 13:13:58 +09:30
parent 79bdb5f993
commit 9885280334

View File

@ -305,7 +305,7 @@ void rhizome_server_poll(struct sched_ent *alarm)
schedule(&request->alarm);
}
}
if (errno != EAGAIN)
if (errno && errno != EAGAIN)
WARN_perror("accept");
}
if (alarm->poll.revents & (POLLHUP | POLLERR)) {