summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.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_controller.c
parent09ef66d39c277ed709e2333f992b1d87304bf663 (diff)
downloadunit-67c066b026c965729b70879a490ed118c5a170b9.tar.gz
unit-67c066b026c965729b70879a490ed118c5a170b9.tar.bz2
Router: fixed segfault after configuration change.
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r--src/nxt_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 2c39a40e..fd932aa0 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -369,7 +369,7 @@ nxt_runtime_controller_socket(nxt_task_t *task, nxt_runtime_t *rt)
ls->sockaddr->type = sa->type;
nxt_sockaddr_text(ls->sockaddr);
- nxt_listen_socket_remote_size(ls, sa);
+ nxt_listen_socket_remote_size(ls);
ls->socket = -1;
ls->backlog = NXT_LISTEN_BACKLOG;