Mercurial > hg > nginx
diff src/os/unix/ngx_freebsd_init.c @ 195:8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Nov 2003 20:44:56 +0000 |
parents | 4c698194c56d |
children | 11fbd0fc041d |
line wrap: on
line diff
--- a/src/os/unix/ngx_freebsd_init.c Fri Nov 21 06:30:49 2003 +0000 +++ b/src/os/unix/ngx_freebsd_init.c Tue Nov 25 20:44:56 2003 +0000 @@ -20,12 +20,12 @@ ngx_unix_recv, ngx_readv_chain, NULL, -#if (HAVE_FREEBSD_SENDFILE) +#if (HAVE_SENDFILE) ngx_freebsd_sendfile_chain, - NGX_HAVE_SENDFILE|NGX_HAVE_ZEROCOPY + NGX_HAVE_SENDFILE #else ngx_writev_chain, - NULL + 0 #endif }; @@ -97,7 +97,7 @@ version, __FreeBSD_version); -#if (HAVE_FREEBSD_SENDFILE) +#if (HAVE_SENDFILE) /* * The determination of the sendfile() nbytes bug is complex enough. @@ -127,7 +127,7 @@ #endif -#endif /* HAVE_FREEBSD_SENDFILE */ +#endif /* HAVE_SENDFILE */ if ((version < 500000 && version >= 440003) || version >= 500017) {