diff src/os/unix/ngx_readv_chain.c @ 151:2d9e4a8b6d11

nginx-0.0.1-2003-10-20-21:14:07 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 20 Oct 2003 17:14:07 +0000
parents ad5f382c9e7d
children 46eb23d9471d
line wrap: on
line diff
--- a/src/os/unix/ngx_readv_chain.c	Sun Oct 19 19:57:23 2003 +0000
+++ b/src/os/unix/ngx_readv_chain.c	Mon Oct 20 17:14:07 2003 +0000
@@ -21,7 +21,7 @@
 
     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;
     }