aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-07 12:08:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-06-07 12:08:38 +0000
commita3a792b1ee8355dfca1427ebac95f8a18bbd54fe (patch)
tree311c8e0fcd8ae5f1f766439675dbf6038c2a0398
parenta5bf33601b9ac21390c92db5f77983d0e55de640 (diff)
downloadnginx-a3a792b1ee8355dfca1427ebac95f8a18bbd54fe.tar.gz
nginx-a3a792b1ee8355dfca1427ebac95f8a18bbd54fe.zip
fix building without PCRE introduced in r2023
-rw-r--r--src/http/ngx_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index e8e059c22..91bc3e64f 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1300,14 +1300,14 @@ ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
ngx_array_t *in_ports)
{
ngx_int_t rc;
- ngx_uint_t s, p, a, i;
+ ngx_uint_t s, p, a;
ngx_hash_init_t hash;
ngx_http_server_name_t *name;
ngx_hash_keys_arrays_t ha;
ngx_http_conf_in_port_t *in_port;
ngx_http_conf_in_addr_t *in_addr;
#if (NGX_PCRE)
- ngx_uint_t regex;
+ ngx_uint_t regex, i;
#endif
in_port = in_ports->elts;