summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_conn_connect.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_event_conn_connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_event_conn_connect.c b/src/nxt_event_conn_connect.c
index 3a80b8d7..7f2aacae 100644
--- a/src/nxt_event_conn_connect.c
+++ b/src/nxt_event_conn_connect.c
@@ -124,8 +124,8 @@ nxt_event_conn_socket(nxt_task_t *task, nxt_event_conn_t *c)
#endif
c->socket.fd = s;
- nxt_event_timer_ident(&c->read_timer, s);
- nxt_event_timer_ident(&c->write_timer, s);
+ nxt_timer_ident(&c->read_timer, s);
+ nxt_timer_ident(&c->write_timer, s);
c->socket.task = task;
c->read_timer.task = task;
@@ -156,7 +156,7 @@ nxt_event_conn_connect_test(nxt_task_t *task, void *obj, void *data)
nxt_event_fd_block_write(task->thread->engine, &c->socket);
if (c->write_state->autoreset_timer) {
- nxt_event_timer_disable(&c->write_timer);
+ nxt_timer_disable(&c->write_timer);
}
err = 0;