Mercurial > hg > nginx-quic
comparison src/http/ngx_http_variables.c @ 3356:fe08c14530e9
fix building without PCRE, the bug had been introduced in r3326
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Nov 2009 13:13:58 +0000 |
parents | d8228f0b5113 |
children | bb79608169eb |
comparison
equal
deleted
inserted
replaced
3355:0d315506d18c | 3356:fe08c14530e9 |
---|---|
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; |