aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_init.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-22 15:23:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-22 15:23:47 +0000
commit6a1cc903bf2db47b7061791b9e878ededcba1aa4 (patch)
tree5e9d78365d85901394f312d8eed6a1811692891b /src/os/unix/ngx_freebsd_init.c
parentfa73aac7747c9d0a8575eb2beffcdab50171e006 (diff)
downloadnginx-6a1cc903bf2db47b7061791b9e878ededcba1aa4.tar.gz
nginx-6a1cc903bf2db47b7061791b9e878ededcba1aa4.zip
nginx-0.0.1-2003-05-22-19:23:47 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_init.c')
-rw-r--r--src/os/unix/ngx_freebsd_init.c4
1 files changed, 2 insertions, 2 deletions
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