Mercurial > hg > nginx
changeset 2561:2c3cff5999a2
fix building without PCRE, introduced in r2553
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 12 Mar 2009 11:42:34 +0000 |
parents | a7443674e429 |
children | c352c419be85 |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Thu Mar 12 07:16:15 2009 +0000 +++ b/src/http/ngx_http_request.c Thu Mar 12 11:42:34 2009 +0000 @@ -1611,7 +1611,6 @@ 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 @@ #if (NGX_PCRE) if (vn->nregex) { + size_t ncaptures; ngx_int_t n; ngx_uint_t i; ngx_str_t name;