changeset 3409:bb79608169eb

named captures worked for two names only
author Igor Sysoev <igor@sysoev.ru>
date Mon, 11 Jan 2010 11:21:46 +0000
parents 71193a456616
children bfcc9be4f1c9
files src/http/ngx_http_variables.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -1743,7 +1743,7 @@ ngx_http_regex_compile(ngx_conf_t *cf, n
 
         v->get_handler = ngx_http_variable_not_found;
 
-        p += i + size;
+        p += size;
     }
 
     return re;