aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-10-20 17:14:07 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-10-20 17:14:07 +0000
commit54276be80c35fcff04da8cd129452995e9ba8ba5 (patch)
tree78288161f5b678ca73acc281e64302034cf3e54a /src/os/unix
parent13829b7316411fa13c848015e1011a53405f37be (diff)
downloadnginx-54276be80c35fcff04da8cd129452995e9ba8ba5.tar.gz
nginx-54276be80c35fcff04da8cd129452995e9ba8ba5.zip
nginx-0.0.1-2003-10-20-21:14:07 import
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/ngx_readv_chain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c
index 7fa7d84f5..fe9a505c7 100644
--- a/src/os/unix/ngx_readv_chain.c
+++ b/src/os/unix/ngx_readv_chain.c
@@ -21,7 +21,7 @@ ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry)
while (entry) {
ngx_test_null(iov, ngx_push_array(&io), NGX_ERROR);
- iov->iov_base = entry->hunk->pos;
+ iov->iov_base = entry->hunk->last;
iov->iov_len = entry->hunk->end - entry->hunk->last;
entry = entry->next;
}