From 54276be80c35fcff04da8cd129452995e9ba8ba5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 20 Oct 2003 17:14:07 +0000 Subject: nginx-0.0.1-2003-10-20-21:14:07 import --- src/os/unix/ngx_readv_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix') 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; } -- cgit