diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-02 15:54:34 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-02 15:54:34 +0000 |
commit | 98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4 (patch) | |
tree | 1e2b79792bce785142da3a73a3d68fde1154b542 /src/os/unix/ngx_readv_chain.c | |
parent | 46cd7c2a9bc740a2d3de03410dd84412b9d85856 (diff) | |
download | nginx-98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4.tar.gz nginx-98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4.zip |
nginx-0.0.7-2004-07-02-19:54:34 import
Diffstat (limited to 'src/os/unix/ngx_readv_chain.c')
-rw-r--r-- | src/os/unix/ngx_readv_chain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c index ed66ca027..9458872b7 100644 --- a/src/os/unix/ngx_readv_chain.c +++ b/src/os/unix/ngx_readv_chain.c @@ -20,10 +20,10 @@ ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) if (ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) { ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0, "readv: eof:%d, avail:%d, err:%d", - rev->kq_eof, rev->available, rev->kq_errno); + rev->pending_eof, rev->available, rev->kq_errno); if (rev->available == 0) { - if (rev->kq_eof) { + if (rev->pending_eof) { rev->ready = 0; rev->eof = 1; @@ -85,7 +85,7 @@ ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) */ if (rev->available <= 0) { - if (!rev->kq_eof) { + if (!rev->pending_eof) { rev->ready = 0; } |