diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-02-07 20:04:56 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-02-07 20:04:56 +0300 |
commit | 059a8642898a6bd4b47d13a1c1d599cd44af7e1c (patch) | |
tree | e3c8c530a04f1ae44777d5ea4fd6901dc55a8ebf /src/nxt_event_conn_connect.c | |
parent | e57b95a92333fa7ff558737b0ba2b76894cc0412 (diff) | |
download | unit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.gz unit-059a8642898a6bd4b47d13a1c1d599cd44af7e1c.tar.bz2 |
Event engines refactoring.
Diffstat (limited to 'src/nxt_event_conn_connect.c')
-rw-r--r-- | src/nxt_event_conn_connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_event_conn_connect.c b/src/nxt_event_conn_connect.c index 1550aa5c..ccd84011 100644 --- a/src/nxt_event_conn_connect.c +++ b/src/nxt_event_conn_connect.c @@ -79,7 +79,7 @@ nxt_event_conn_io_connect(nxt_task_t *task, void *obj, void *data) nxt_event_conn_timer(engine, c, state, &c->write_timer); - nxt_event_fd_enable_write(engine, &c->socket); + nxt_fd_event_enable_write(engine, &c->socket); return; case NXT_DECLINED: @@ -151,7 +151,7 @@ nxt_event_conn_connect_test(nxt_task_t *task, void *obj, void *data) nxt_debug(task, "event connect test fd:%d", c->socket.fd); - nxt_event_fd_block_write(task->thread->engine, &c->socket); + nxt_fd_event_block_write(task->thread->engine, &c->socket); if (c->write_state->autoreset_timer) { nxt_timer_disable(task->thread->engine, &c->write_timer); |