diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 9ec9c7d..b843b86 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -342,7 +342,7 @@ void -ngx_configure_listening_socket(ngx_cycle_t *cycle) +ngx_configure_listening_sockets(ngx_cycle_t *cycle) { ngx_uint_t i; ngx_listening_t *ls; diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 10799ef..fc6416c 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -165,7 +165,7 @@ ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); -void ngx_configure_listening_socket(ngx_cycle_t *cycle); +void ngx_configure_listening_sockets(ngx_cycle_t *cycle); void ngx_close_listening_sockets(ngx_cycle_t *cycle); void ngx_close_connection(ngx_connection_t *c); ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c index 251892b..fc65765 100644 --- a/src/core/ngx_cycle.c +++ b/src/core/ngx_cycle.c @@ -573,7 +573,7 @@ } if (!ngx_test_config) { - ngx_configure_listening_socket(cycle); + ngx_configure_listening_sockets(cycle); } }