1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-24 15:30:27 +00:00

Missing &&

This commit is contained in:
Calvin Rose 2023-10-04 23:29:54 -05:00
parent b6e3020d4c
commit bf2af1051f

View File

@ -1839,7 +1839,7 @@ void janet_ev_init(void) {
int status; int status;
do { do {
status = kevent(janet_vm.kq, &event, 1, NULL, 0, NULL); status = kevent(janet_vm.kq, &event, 1, NULL, 0, NULL);
} while (status == -1 errno != EINTR); } while (status == -1 && errno != EINTR);
if (status == -1) goto error; if (status == -1) goto error;
return; return;
error: error: