summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_worker_process.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-14 15:18:52 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-14 15:18:52 +0300
commit7574c64992b98d3dfbc3dd101bd0f7d78bad0823 (patch)
tree3a98c46e88d9023df34be3e6cce4f762d53aad36 /src/nxt_worker_process.c
parent3e2632688f53c4cb08e7ac03c61e71facd038df4 (diff)
downloadunit-7574c64992b98d3dfbc3dd101bd0f7d78bad0823.tar.gz
unit-7574c64992b98d3dfbc3dd101bd0f7d78bad0823.tar.bz2
nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
Diffstat (limited to '')
-rw-r--r--src/nxt_worker_process.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nxt_worker_process.c b/src/nxt_worker_process.c
index b6266520..6407c734 100644
--- a/src/nxt_worker_process.c
+++ b/src/nxt_worker_process.c
@@ -45,12 +45,12 @@ const nxt_sig_event_t nxt_worker_process_signals[] = {
static void
nxt_worker_process_quit(nxt_task_t *task)
{
- nxt_uint_t n;
- nxt_queue_t *listen;
- nxt_runtime_t *rt;
- nxt_queue_link_t *link, *next;
- nxt_listen_socket_t *ls;
- nxt_event_conn_listen_t *cls;
+ nxt_uint_t n;
+ nxt_queue_t *listen;
+ nxt_runtime_t *rt;
+ nxt_queue_link_t *link, *next;
+ nxt_listen_event_t *lev;
+ nxt_listen_socket_t *ls;
rt = task->thread->runtime;
@@ -63,10 +63,10 @@ nxt_worker_process_quit(nxt_task_t *task)
link = next)
{
next = nxt_queue_next(link);
- cls = nxt_queue_link_data(link, nxt_event_conn_listen_t, link);
+ lev = nxt_queue_link_data(link, nxt_listen_event_t, link);
nxt_queue_remove(link);
- nxt_fd_event_close(task->thread->engine, &cls->socket);
+ nxt_fd_event_close(task->thread->engine, &lev->socket);
}
if (rt->listen_sockets != NULL) {