changeset 1978:c10e7b563fb4

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