aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_sendfile_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-02 15:54:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-07-02 15:54:34 +0000
commit98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4 (patch)
tree1e2b79792bce785142da3a73a3d68fde1154b542 /src/os/unix/ngx_freebsd_sendfile_chain.c
parent46cd7c2a9bc740a2d3de03410dd84412b9d85856 (diff)
downloadnginx-98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4.tar.gz
nginx-98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4.zip
nginx-0.0.7-2004-07-02-19:54:34 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_sendfile_chain.c')
-rw-r--r--src/os/unix/ngx_freebsd_sendfile_chain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c
index affa02a7a..f79b79bc2 100644
--- a/src/os/unix/ngx_freebsd_sendfile_chain.c
+++ b/src/os/unix/ngx_freebsd_sendfile_chain.c
@@ -53,7 +53,7 @@ ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in,
#if (HAVE_KQUEUE)
- if ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) && wev->kq_eof) {
+ if ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) && wev->pending_eof) {
ngx_log_error(NGX_LOG_INFO, c->log, wev->kq_errno,
"kevent() reported about an closed connection");