summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_conn_write.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_event_conn_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_event_conn_write.c b/src/nxt_event_conn_write.c
index 1fe7f8e9..d6c3d354 100644
--- a/src/nxt_event_conn_write.c
+++ b/src/nxt_event_conn_write.c
@@ -90,7 +90,7 @@ nxt_event_conn_io_write(nxt_task_t *task, void *obj, void *data)
if (sent != 0) {
if (c->write_state->autoreset_timer) {
- nxt_timer_disable(&c->write_timer);
+ nxt_timer_disable(engine, &c->write_timer);
}
}