summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_epoll_engine.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-06-09 21:37:29 +0300
committerValentin Bartenev <vbart@nginx.com>2017-06-09 21:37:29 +0300
commitcb1624fa422d5f6cedc9ce09794c0ff589a5e5e1 (patch)
treea7870999816d46f38e25480bb0c2ffa5e4ca0058 /src/nxt_epoll_engine.c
parentd0c72e07261ac3ee57573b7f41732fab76862aee (diff)
downloadunit-cb1624fa422d5f6cedc9ce09794c0ff589a5e5e1.tar.gz
unit-cb1624fa422d5f6cedc9ce09794c0ff589a5e5e1.tar.bz2
Fixed building with epoll (broken in 92b4984ca3c1).
Diffstat (limited to 'src/nxt_epoll_engine.c')
-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 d46ee007..4ca878e6 100644
--- a/src/nxt_epoll_engine.c
+++ b/src/nxt_epoll_engine.c
@@ -1122,7 +1122,7 @@ nxt_epoll_edge_event_conn_connected(nxt_task_t *task, void *obj, void *data)
if (!c->socket.epoll_error) {
c->socket.write = NXT_EVENT_BLOCKED;
- if (c->write_state->autoreset_timer) {
+ if (c->write_state->timer_autoreset) {
nxt_timer_disable(task->thread->engine, &c->write_timer);
}