fix bug introduced in r1228

This commit is contained in:
Igor Sysoev 2007-06-06 05:56:51 +00:00
parent 8e485d04d9
commit a8dc68ba1b

View file

@ -418,7 +418,7 @@ ngx_output_chain_copy_buf(ngx_buf_t *dst, ngx_buf_t *src, ngx_uint_t sendfile)
src->file_pos += n;
if (src->pos == src->last) {
if (src->file_pos == src->file_last) {
dst->flush = src->flush;
dst->last_buf = src->last_buf;
}