From 67c066b026c965729b70879a490ed118c5a170b9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 18 Oct 2017 18:05:47 +0300 Subject: Router: fixed segfault after configuration change. --- src/nxt_controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_controller.c') 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; -- cgit