commit f54e7ace83e7b3a51012bd74285245f0a624b65d
parent cebd1c2c2b73798682b77aec867a6baf968fe3dc
Author: Joris Vink <joris@coders.se>
Date: Sat, 13 Jul 2013 22:24:00 +0200
do not try to accept if accept has failed, but instead let kore continue
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bsd.c b/src/bsd.c
@@ -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,