summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_accept.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-05 14:05:21 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-05 14:05:21 +0300
commit4fe5d22dcc5d6e42c5faa6fe06dd076cde799324 (patch)
tree91f346ac5380888617f4ed32fa0933445c4bd65a /src/nxt_conn_accept.c
parentd28d502aa5c6982552ce6626088a77f3295465f6 (diff)
downloadunit-4fe5d22dcc5d6e42c5faa6fe06dd076cde799324.tar.gz
unit-4fe5d22dcc5d6e42c5faa6fe06dd076cde799324.tar.bz2
Router: processing JSON configuration.
Diffstat (limited to 'src/nxt_conn_accept.c')
-rw-r--r--src/nxt_conn_accept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conn_accept.c b/src/nxt_conn_accept.c
index 4fcd530d..6f42cf3d 100644
--- a/src/nxt_conn_accept.c
+++ b/src/nxt_conn_accept.c
@@ -69,7 +69,7 @@ nxt_listen_event(nxt_task_t *task, nxt_listen_socket_t *ls)
if (nxt_conn_accept_alloc(task, lev) != NULL) {
nxt_fd_event_enable_accept(engine, &lev->socket);
- nxt_queue_insert_head(&engine->listen_connections, &lev->link);
+ nxt_queue_insert_tail(&engine->listen_connections, &lev->link);
}
return lev;