diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-06-06 05:56:51 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-06-06 05:56:51 +0000 |
| commit | 52a93439bc737ef6ad7ac99b329ebdbcca6d31c3 (patch) | |
| tree | 344269eb25152a1b9a2c88c2ee4a496714ebca9d /src/core/ngx_output_chain.c | |
| parent | 1849ba824ed0426defa235956e84da70f9be6cb9 (diff) | |
| download | nginx-52a93439bc737ef6ad7ac99b329ebdbcca6d31c3.tar.gz nginx-52a93439bc737ef6ad7ac99b329ebdbcca6d31c3.tar.bz2 | |
fix bug introduced in r1228
Diffstat (limited to 'src/core/ngx_output_chain.c')
| -rw-r--r-- | src/core/ngx_output_chain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index 6bb463a83..5e6773e60 100644 --- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c @@ -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; } |
