changeset 1995:4b54072c0848 stable-0.5

r1979 merge: reset looked at match
author Igor Sysoev <igor@sysoev.ru>
date Sun, 04 May 2008 10:11:23 +0000
parents f3205008c55a
children 459fa0e9044d
files src/http/modules/ngx_http_sub_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 
                 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) {