From 5fa7846941fd3f9c0f2b5231d4c980cdca0ded5e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 4 May 2008 10:11:23 +0000 Subject: [PATCH] r1979 merge: reset looked at match --- src/http/modules/ngx_http_sub_filter_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {