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
1 changed files with 1 additions and 1 deletions

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,