kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 46127459d949ae1e4371400ef5b8678b18b5ff91
parent 7350131232b44bf660099f165a434097d80a8e44
Author: Joris Vink <joris@coders.se>
Date:   Fri, 27 Sep 2019 12:31:17 +0200

fix BSDs after last commit

Diffstat:
src/bsd.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/bsd.c b/src/bsd.c @@ -94,6 +94,8 @@ kore_platform_event_init(void) /* Hack to check if we're running under the parent or not. */ if (worker != NULL) { LIST_FOREACH(l, &listeners, list) { + if (l->fd == -1) + continue; kore_platform_event_schedule(l->fd, EVFILT_READ, EV_ADD | EV_DISABLE, l); }