Mercurial > hg > nginx-mail
comparison src/http/ngx_http_variables.c @ 595:43e02819c5cf NGINX_0_8_28
nginx 0.8.28
*) Bugfix: nginx could not be built with the --without-pcre parameter;
the bug had appeared in 0.8.25.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Nov 2009 00:00:00 +0300 |
parents | ab7d265273ed |
children | daf4847b43ff |
comparison
equal
deleted
inserted
replaced
594:8af5b52635d0 | 595:43e02819c5cf |
---|---|
1664 | 1664 |
1665 return NGX_OK; | 1665 return NGX_OK; |
1666 } | 1666 } |
1667 | 1667 |
1668 | 1668 |
1669 #if (NGX_PCRE) | |
1670 | |
1669 static ngx_int_t | 1671 static ngx_int_t |
1670 ngx_http_variable_not_found(ngx_http_request_t *r, ngx_http_variable_value_t *v, | 1672 ngx_http_variable_not_found(ngx_http_request_t *r, ngx_http_variable_value_t *v, |
1671 uintptr_t data) | 1673 uintptr_t data) |
1672 { | 1674 { |
1673 v->not_found = 1; | 1675 v->not_found = 1; |
1814 r->captures_data = s->data; | 1816 r->captures_data = s->data; |
1815 | 1817 |
1816 return NGX_OK; | 1818 return NGX_OK; |
1817 } | 1819 } |
1818 | 1820 |
1821 #endif | |
1822 | |
1819 | 1823 |
1820 ngx_int_t | 1824 ngx_int_t |
1821 ngx_http_variables_add_core_vars(ngx_conf_t *cf) | 1825 ngx_http_variables_add_core_vars(ngx_conf_t *cf) |
1822 { | 1826 { |
1823 ngx_int_t rc; | 1827 ngx_int_t rc; |