summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_accept.c
diff options
context:
space:
mode:
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;