summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_kqueue.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-30 16:47:50 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-30 16:47:50 +0300
commitbb87fa11ca65d1263a32f86d51d1daa89dc11544 (patch)
treed5e74fee091b15da7ecd058341d49dba304c9822 /src/nxt_kqueue.c
parent952291c93c96c1dc5b63576e0ee034efde998b18 (diff)
downloadunit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.gz
unit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.bz2
nxt_event_timer has been renamed to nxt_timer.
Diffstat (limited to '')
-rw-r--r--src/nxt_kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_kqueue.c b/src/nxt_kqueue.c
index c03cd8f4..17bdf5b7 100644
--- a/src/nxt_kqueue.c
+++ b/src/nxt_kqueue.c
@@ -934,7 +934,7 @@ nxt_kqueue_event_conn_connected(nxt_task_t *task, void *obj, void *data)
c->socket.write = NXT_EVENT_BLOCKED;
if (c->write_state->autoreset_timer) {
- nxt_event_timer_disable(&c->write_timer);
+ nxt_timer_disable(&c->write_timer);
}
nxt_work_queue_add(c->write_work_queue, c->write_state->ready_handler,