mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 09:47:17 +00:00
POLLER -> POLLERR
This commit is contained in:
parent
4a693222b4
commit
0d3c6abee8
@ -418,7 +418,7 @@ static void janet_loop1(void) {
|
||||
for (int i = 0; i < janet_vm_loop_count;) {
|
||||
int revents = janet_vm_pollfds[i].revents;
|
||||
janet_vm_pollfds[i].revents = 0;
|
||||
if ((janet_vm_pollfds[i].events | POLLHUP | POLLER) & revents) {
|
||||
if ((janet_vm_pollfds[i].events | POLLHUP | POLLERR) & revents) {
|
||||
size_t delta = janet_loop_event(i);
|
||||
i += (int) delta;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user