comparison 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
comparison
equal deleted inserted replaced
1977:40c9cb8576bb 1978:c10e7b563fb4
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 }