Events: fixed typos in two previous commits.

This commit is contained in:
Valentin Bartenev 2013-04-12 17:31:08 +00:00
parent c6aebf6c74
commit c798029241
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;
}