aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-04-29 06:15:56 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-04-29 06:15:56 +0000
commit175d9a277edcfd22bacd243835832116c4024cd5 (patch)
tree5e56bdb324786a17f08823c79f9d9c436d664a3c
parent396abff2263c3e54932ebc58a91afd2a56484da5 (diff)
downloadnginx-175d9a277edcfd22bacd243835832116c4024cd5.tar.gz
nginx-175d9a277edcfd22bacd243835832116c4024cd5.zip
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) {