From 059a8642898a6bd4b47d13a1c1d599cd44af7e1c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 7 Feb 2017 20:04:56 +0300 Subject: Event engines refactoring. --- src/nxt_event_conn_job_sendfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_event_conn_job_sendfile.c') diff --git a/src/nxt_event_conn_job_sendfile.c b/src/nxt_event_conn_job_sendfile.c index a49e78dd..dd43c16f 100644 --- a/src/nxt_event_conn_job_sendfile.c +++ b/src/nxt_event_conn_job_sendfile.c @@ -31,7 +31,7 @@ static nxt_buf_t *nxt_event_conn_job_sendfile_completion(nxt_task_t *task, void nxt_event_conn_job_sendfile(nxt_task_t *task, nxt_event_conn_t *c) { - nxt_event_fd_disable(task->thread->engine, &c->socket); + nxt_fd_event_disable(task->thread->engine, &c->socket); /* A work item data is not used in nxt_event_conn_job_sendfile_start(). */ nxt_event_conn_job_sendfile_start(task, c, NULL); @@ -215,7 +215,7 @@ nxt_event_conn_job_sendfile_return(nxt_task_t *task, void *obj, void *data) nxt_event_conn_timer(task->thread->engine, c, c->write_state, &c->write_timer); - nxt_event_fd_oneshot_write(task->thread->engine, &c->socket); + nxt_fd_event_oneshot_write(task->thread->engine, &c->socket); } if (sent != 0) { -- cgit