diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-09-17 16:37:13 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-09-17 16:37:13 +0300 |
commit | 74b69f5e95ce6a3fea4bbe0f681afcc4b8ecdec9 (patch) | |
tree | ca87266fd89aee47975ad25807c6460f47d6a063 /src | |
parent | ab5b67b45dd89abadc7b7750b3bb3ff761b2a405 (diff) | |
download | unit-74b69f5e95ce6a3fea4bbe0f681afcc4b8ecdec9.tar.gz unit-74b69f5e95ce6a3fea4bbe0f681afcc4b8ecdec9.tar.bz2 |
Fixed typo.
This closes #166 issue on GitHub.
Thanks to 洪志道 (Hong Zhi Dao).
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_epoll_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_epoll_engine.c b/src/nxt_epoll_engine.c index c6ce145d..e41ef216 100644 --- a/src/nxt_epoll_engine.c +++ b/src/nxt_epoll_engine.c @@ -489,7 +489,7 @@ nxt_epoll_disable_write(nxt_event_engine_t *engine, nxt_fd_event_t *ev) ev->write = NXT_EVENT_INACTIVE; if (ev->read <= NXT_EVENT_DISABLED) { - ev->write = NXT_EVENT_INACTIVE; + ev->read = NXT_EVENT_INACTIVE; op = EPOLL_CTL_DEL; events = 0; |