summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-05-04 10:11:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-05-04 10:11:23 +0000
commit3dacca87f8df5f678ed967930f7e90bf255ce31c (patch)
tree1bea4828f29ff3157e09746026d878c904c6fb51
parent24488a2a5aa9ec0cb59ec7f93fd1138a98119eb6 (diff)
downloadnginx-3dacca87f8df5f678ed967930f7e90bf255ce31c.tar.gz
r1979 merge:
reset looked at match
-rw-r--r--src/http/modules/ngx_http_sub_filter_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_sub_filter_module.c b/src/http/modules/ngx_http_sub_filter_module.c
index 93d1b36ef..663a9f5b7 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 @@ ngx_http_sub_parse(ngx_http_request_t *r, ngx_http_sub_ctx_t *ctx)
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) {