]> git.kaiwu.me - nginx.git/commitdiff
named captures worked for two names only
authorIgor Sysoev <igor@sysoev.ru>
Mon, 11 Jan 2010 11:21:46 +0000 (11:21 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 11 Jan 2010 11:21:46 +0000 (11:21 +0000)
src/http/ngx_http_variables.c

index 0231d6727bb08dd61fd430cb55d7f45ce77cbe46..150c4e2be597bb26e25791aee577286e7f934b29 100644 (file)
@@ -1743,7 +1743,7 @@ ngx_http_regex_compile(ngx_conf_t *cf, ngx_regex_compile_t *rc)
 
         v->get_handler = ngx_http_variable_not_found;
 
-        p += i + size;
+        p += size;
     }
 
     return re;