diff src/http/modules/ngx_http_sub_filter_module.c @ 1978:c10e7b563fb4

reset looked at match
author Igor Sysoev <igor@sysoev.ru>
date Tue, 29 Apr 2008 06:15:56 +0000
parents 9d094e581587
children 2a92804f4109 c5e8484b22ab
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) {