diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-30 16:47:50 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-30 16:47:50 +0300 |
commit | bb87fa11ca65d1263a32f86d51d1daa89dc11544 (patch) | |
tree | d5e74fee091b15da7ecd058341d49dba304c9822 /src/nxt_event_conn.c | |
parent | 952291c93c96c1dc5b63576e0ee034efde998b18 (diff) | |
download | unit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.gz unit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.bz2 |
nxt_event_timer has been renamed to nxt_timer.
Diffstat (limited to 'src/nxt_event_conn.c')
-rw-r--r-- | src/nxt_event_conn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_event_conn.c b/src/nxt_event_conn.c index 913038f1..d907c238 100644 --- a/src/nxt_event_conn.c +++ b/src/nxt_event_conn.c @@ -145,8 +145,8 @@ nxt_event_conn_close(nxt_task_t *task, nxt_event_conn_t *c) engine = thr->engine; - nxt_event_timer_delete(engine, &c->read_timer); - nxt_event_timer_delete(engine, &c->write_timer); + nxt_timer_delete(engine, &c->read_timer); + nxt_timer_delete(engine, &c->write_timer); nxt_event_fd_close(engine, &c->socket); engine->connections--; @@ -203,7 +203,7 @@ nxt_event_conn_close_socket(nxt_task_t *task, void *obj, void *data) void nxt_event_conn_timer(nxt_event_engine_t *engine, nxt_event_conn_t *c, - const nxt_event_conn_state_t *state, nxt_event_timer_t *tev) + const nxt_event_conn_state_t *state, nxt_timer_t *tev) { nxt_msec_t timer; @@ -212,7 +212,7 @@ nxt_event_conn_timer(nxt_event_engine_t *engine, nxt_event_conn_t *c, if (timer != 0) { tev->handler = state->timer_handler; - nxt_event_timer_add(engine, tev, timer); + nxt_timer_add(engine, tev, timer); } } } |