comparison src/http/ngx_http_variables.c @ 3344:1aed55182ea2

fix captures in "rewrite", the bug had been introduced in r3326
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 Nov 2009 19:10:45 +0000
parents 42c16d8bddbe
children d8228f0b5113
comparison
equal deleted inserted replaced
3343:3051e512e301 3344:1aed55182ea2
1808 &v[index].name, vv->len, vv->data); 1808 &v[index].name, vv->len, vv->data);
1809 } 1809 }
1810 #endif 1810 #endif
1811 } 1811 }
1812 1812
1813 r->ncaptures = len; 1813 r->ncaptures = rc * 2;
1814 r->captures_data = s->data; 1814 r->captures_data = s->data;
1815 1815
1816 return NGX_OK; 1816 return NGX_OK;
1817 } 1817 }
1818 1818