summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-05 13:12:59 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-05 13:12:59 +0000
commit00bd137064114d5d5c8023efeeafdc18056a7c78 (patch)
tree6318d6e7fc9b14dff9bc35d3af61130b96f8208e
parent682414f352a1f42dd791512cf6d42cc564a8662e (diff)
downloadnginx-00bd137064114d5d5c8023efeeafdc18056a7c78.tar.gz
nginx-00bd137064114d5d5c8023efeeafdc18056a7c78.tar.bz2
use correct name
-rw-r--r--src/core/ngx_connection.c2
-rw-r--r--src/core/ngx_connection.h2
-rw-r--r--src/core/ngx_cycle.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 9ec9c7d09..b843b866b 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -342,7 +342,7 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle)
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 10799ef12..fc6416c09 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -165,7 +165,7 @@ struct ngx_connection_s {
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 251892b74..fc65765b0 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -573,7 +573,7 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
}
if (!ngx_test_config) {
- ngx_configure_listening_socket(cycle);
+ ngx_configure_listening_sockets(cycle);
}
}