Mercurial > hg > nginx
diff src/os/unix/ngx_freebsd_sendfile_chain.c @ 154:eac26585476e
nginx-0.0.1-2003-10-22-11:05:29 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 22 Oct 2003 07:05:29 +0000 |
parents | c71aeb75c071 |
children | 46eb23d9471d |
line wrap: on
line diff
--- a/src/os/unix/ngx_freebsd_sendfile_chain.c +++ b/src/os/unix/ngx_freebsd_sendfile_chain.c @@ -83,9 +83,9 @@ ngx_chain_t *ngx_freebsd_sendfile_chain( if (ce && (ce->hunk->type & NGX_HUNK_FILE)) { file = ce->hunk; - ce = ce->next; fsize = (size_t) (file->file_last - file->file_pos); fprev = file->file_last; + ce = ce->next; /* coalesce the neighbouring file hunks */