summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_conn_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_event_conn_read.c')
-rw-r--r--src/nxt_event_conn_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_event_conn_read.c b/src/nxt_event_conn_read.c
index d898c694..be2dfdb2 100644
--- a/src/nxt_event_conn_read.c
+++ b/src/nxt_event_conn_read.c
@@ -72,7 +72,7 @@ nxt_event_conn_io_read(nxt_task_t *task, void *obj, void *data)
nxt_fd_event_block_read(engine, &c->socket);
- if (state->autoreset_timer) {
+ if (state->timer_autoreset) {
nxt_timer_disable(engine, &c->read_timer);
}