aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-12 11:42:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-12 11:42:34 +0000
commit648b0dcf282a3f1b75acfb9775c7fb00821454b9 (patch)
tree7d250199498f3580f2f9c89ca4ea0fe56ce4a015 /src/http/ngx_http_request.c
parent0bd7b00eb7636ec79cf4000fb9db79cab42deed9 (diff)
downloadnginx-648b0dcf282a3f1b75acfb9775c7fb00821454b9.tar.gz
nginx-648b0dcf282a3f1b75acfb9775c7fb00821454b9.zip
fix building without PCRE, introduced in r2553
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index fbe088711..0280c6380 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1611,7 +1611,6 @@ static ngx_int_t
ngx_http_find_virtual_server(ngx_http_request_t *r, u_char *host, size_t len)
{
u_char *server;
- size_t ncaptures;
ngx_uint_t hash;
ngx_http_virtual_names_t *vn;
ngx_http_core_loc_conf_t *clcf;
@@ -1646,6 +1645,7 @@ ngx_http_find_virtual_server(ngx_http_request_t *r, u_char *host, size_t len)
#if (NGX_PCRE)
if (vn->nregex) {
+ size_t ncaptures;
ngx_int_t n;
ngx_uint_t i;
ngx_str_t name;