From 6a1cc903bf2db47b7061791b9e878ededcba1aa4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 22 May 2003 15:23:47 +0000 Subject: nginx-0.0.1-2003-05-22-19:23:47 import --- src/os/unix/ngx_freebsd_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/os/unix/ngx_freebsd_init.c') diff --git a/src/os/unix/ngx_freebsd_init.c b/src/os/unix/ngx_freebsd_init.c index aac8ed988..100dfc475 100644 --- a/src/os/unix/ngx_freebsd_init.c +++ b/src/os/unix/ngx_freebsd_init.c @@ -14,7 +14,7 @@ ngx_os_io_t ngx_os_io = { ngx_unix_recv, ngx_readv_chain, NULL, - ngx_freebsd_write_chain, + ngx_freebsd_sendfile_chain, NGX_HAVE_SENDFILE|NGX_HAVE_ZEROCOPY }; @@ -56,7 +56,7 @@ int ngx_os_init(ngx_log_t *log) ngx_freebsd_kern_osreldate, __FreeBSD_version); -#if HAVE_FREEBSD_SENDFILE +#if (HAVE_FREEBSD_SENDFILE) /* The determination of the sendfile() nbytes bug is complex enough. There're two sendfile() syscalls: a new 393 has no bug while -- cgit v1.2.3