summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_accept.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-10-18 18:05:47 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-10-18 18:05:47 +0300
commit67c066b026c965729b70879a490ed118c5a170b9 (patch)
tree4ca765461af9b00b7af4fe21a7b2423e99da21ea /src/nxt_conn_accept.c
parent09ef66d39c277ed709e2333f992b1d87304bf663 (diff)
downloadunit-67c066b026c965729b70879a490ed118c5a170b9.tar.gz
unit-67c066b026c965729b70879a490ed118c5a170b9.tar.bz2
Router: fixed segfault after configuration change.
Diffstat (limited to 'src/nxt_conn_accept.c')
-rw-r--r--src/nxt_conn_accept.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_conn_accept.c b/src/nxt_conn_accept.c
index fbafc553..f2a50301 100644
--- a/src/nxt_conn_accept.c
+++ b/src/nxt_conn_accept.c
@@ -101,7 +101,6 @@ nxt_conn_accept_alloc(nxt_task_t *task, nxt_listen_event_t *lev)
lev->next = c;
c->socket.read_work_queue = lev->socket.read_work_queue;
c->socket.write_ready = 1;
- c->listen = lev;
c->remote = nxt_sockaddr_cache_alloc(engine, lev->listen);
if (nxt_fast_path(c->remote != NULL)) {