1
0
mirror of https://git.kore.io/kore.git synced 2024-11-11 04:39:00 +01:00

do not try to accept if accept has failed, but instead let kore continue

This commit is contained in:
Joris Vink 2013-07-13 22:24:00 +02:00
parent cebd1c2c2b
commit f54e7ace83

View File

@ -88,7 +88,7 @@ kore_platform_event_wait(void)
while (worker->accepted < worker->accept_treshold) {
kore_connection_accept(&server, &c);
if (c == NULL)
continue;
break;
worker->accepted++;
kore_platform_event_schedule(c->fd,