comparison src/core/ngx_output_chain.c @ 1238:bb03410441d9

fix bug introduced in r1228
author Igor Sysoev <igor@sysoev.ru>
date Wed, 06 Jun 2007 05:56:51 +0000
parents 3e40f3e4376c
children 3091e5d770a6
comparison
equal deleted inserted replaced
1237:2c2271d3aac5 1238:bb03410441d9
416 dst->in_file = 0; 416 dst->in_file = 0;
417 } 417 }
418 418
419 src->file_pos += n; 419 src->file_pos += n;
420 420
421 if (src->pos == src->last) { 421 if (src->file_pos == src->file_last) {
422 dst->flush = src->flush; 422 dst->flush = src->flush;
423 dst->last_buf = src->last_buf; 423 dst->last_buf = src->last_buf;
424 } 424 }
425 } 425 }
426 426