Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-17 23:58:37 +0400
committerIgor Sysoev <igor@sysoev.ru>2009-05-17 23:58:37 +0400
commitfdf8e1e183419b51f2571b714d44f47e0c537076 (patch)
tree5daae45940c6ea99d98f35c5d2fa4b11dfe5c8d4 /src
parent419c736ae87664eb8572c90cb033eb7b697cead5 (diff)
update variable name missed in r2513
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index a9b4ee5c5..04a1dad47 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -18,7 +18,7 @@ static ngx_int_t ngx_http_init_phase_handlers(ngx_conf_t *cf,
ngx_http_core_main_conf_t *cmcf);
static ngx_int_t ngx_http_init_server_lists(ngx_conf_t *cf,
- ngx_array_t *servers, ngx_array_t *in_ports);
+ ngx_array_t *servers, ngx_array_t *ports);
static ngx_int_t ngx_http_add_ports(ngx_conf_t *cf,
ngx_http_core_srv_conf_t *cscf, ngx_array_t *ports,
ngx_http_listen_t *listen);
@@ -122,7 +122,7 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
char *rv;
ngx_uint_t mi, m, s;
ngx_conf_t pcf;
- ngx_array_t in_ports;
+ ngx_array_t ports;
ngx_http_module_t *module;
ngx_http_conf_ctx_t *ctx;
ngx_http_core_loc_conf_t *clcf;
@@ -367,14 +367,14 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
* to find quickly the server core module configuration at run-time
*/
- if (ngx_http_init_server_lists(cf, &cmcf->servers, &in_ports) != NGX_OK) {
+ if (ngx_http_init_server_lists(cf, &cmcf->servers, &ports) != NGX_OK) {
return NGX_CONF_ERROR;
}
/* optimize the lists of ports, addresses and server names */
- if (ngx_http_optimize_servers(cf, cmcf, &in_ports) != NGX_OK) {
+ if (ngx_http_optimize_servers(cf, cmcf, &ports) != NGX_OK) {
return NGX_CONF_ERROR;
}