1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-13 09:00:26 +00:00

Code style fixes (pt 2).

Missed some.
This commit is contained in:
llmII 2021-09-04 09:37:07 -05:00
parent b847a7d90b
commit c9fa586fce
No known key found for this signature in database
GPG Key ID: E3AD2E259F58A9A0

View File

@ -1704,9 +1704,9 @@ void janet_loop1_impl(int has_timeout, JanetTimestamp timeout) {
statuses[2] = state->machine(state, JANET_ASYNC_EVENT_ERR);
}
if (statuses[0] == JANET_ASYNC_STATUS_DONE ||
statuses[1] == JANET_ASYNC_STATUS_DONE ||
statuses[2] == JANET_ASYNC_STATUS_DONE ||
statuses[3] == JANET_ASYNC_STATUS_DONE)
statuses[1] == JANET_ASYNC_STATUS_DONE ||
statuses[2] == JANET_ASYNC_STATUS_DONE ||
statuses[3] == JANET_ASYNC_STATUS_DONE)
janet_unlisten(state, 0);
}
}