Reset revents before polling
This commit is contained in:
parent
68ea10ac53
commit
5721ec1dcf
@ -238,6 +238,7 @@ retry:
|
||||
HASH_ITER(fdhh, fdclients, client, tmp) {
|
||||
fds[nfds].fd = client->fd;
|
||||
fds[nfds].events = POLLIN;
|
||||
fds[nfds].revents = 0;
|
||||
nfds++;
|
||||
}
|
||||
ck_runlock(&ci->lock);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user