comparison src/http/modules/ngx_http_sub_filter_module.c @ 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 54377021b936
children e94149d5de37
comparison
equal deleted inserted replaced
1994:f3205008c55a 1995:4b54072c0848
588 ctx->saved = 0; 588 ctx->saved = 0;
589 } 589 }
590 590
591 ctx->state = sub_start_state; 591 ctx->state = sub_start_state;
592 ctx->pos = p + 1; 592 ctx->pos = p + 1;
593 ctx->looked = looked; 593 ctx->looked = 0;
594 ctx->copy_end = copy_end; 594 ctx->copy_end = copy_end;
595 595
596 if (ctx->copy_start == NULL && copy_end) { 596 if (ctx->copy_start == NULL && copy_end) {
597 ctx->copy_start = ctx->buf->pos; 597 ctx->copy_start = ctx->buf->pos;
598 } 598 }