Mercurial > hg > nginx-quic
diff src/os/unix/ngx_freebsd_init.c @ 94:8220378432a8
nginx-0.0.1-2003-05-22-19:23:47 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 May 2003 15:23:47 +0000 |
parents | 738fe44c70d5 |
children | 70d2345a903f |
line wrap: on
line diff
--- 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