commit | 175d9a277edcfd22bacd243835832116c4024cd5 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Apr 29 06:15:56 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Apr 29 06:15:56 2008 +0000 |
tree | 5e56bdb324786a17f08823c79f9d9c436d664a3c | |
parent | 396abff2263c3e54932ebc58a91afd2a56484da5 [diff] |
reset looked at match
diff --git a/src/http/modules/ngx_http_sub_filter_module.c b/src/http/modules/ngx_http_sub_filter_module.c index 93d1b36..663a9f5 100644 --- a/src/http/modules/ngx_http_sub_filter_module.c +++ b/src/http/modules/ngx_http_sub_filter_module.c
@@ -590,7 +590,7 @@ ctx->state = sub_start_state; ctx->pos = p + 1; - ctx->looked = looked; + ctx->looked = 0; ctx->copy_end = copy_end; if (ctx->copy_start == NULL && copy_end) {