summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_epoll_engine.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_epoll_engine.c2
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;