mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
Events: fixed typos in two previous commits.
This commit is contained in:
parent
c6aebf6c74
commit
c798029241
@ -514,7 +514,7 @@ ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
|
||||
|
||||
rev->handler(rev);
|
||||
|
||||
if (c->fd == -1 || wev->instance != instance) {
|
||||
if (c->fd == -1 || rev->instance != instance) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -534,7 +534,7 @@ ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
|
||||
revents &= ~POLLIN;
|
||||
}
|
||||
|
||||
if (!wew->active) {
|
||||
if (!wev->active) {
|
||||
revents &= ~POLLOUT;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user