Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-25 23:44:56 +0300
committerIgor Sysoev <igor@sysoev.ru>2003-11-25 23:44:56 +0300
commita8fa0a6a37b6e90324e0dcbf4733324199623841 (patch)
tree1a7edec9aa04946afc22299bf587823488fb492f /src/os/unix/ngx_freebsd_init.c
parentd9d0ca12688034d481e2f1f5cf13a098338ec31d (diff)
nginx-0.0.1-2003-11-25-23:44:56 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_init.c')
-rw-r--r--src/os/unix/ngx_freebsd_init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/os/unix/ngx_freebsd_init.c b/src/os/unix/ngx_freebsd_init.c
index 4f3146d2a..3446382fe 100644
--- a/src/os/unix/ngx_freebsd_init.c
+++ b/src/os/unix/ngx_freebsd_init.c
@@ -20,12 +20,12 @@ ngx_os_io_t ngx_os_io = {
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 @@ int ngx_os_init(ngx_log_t *log)
version, __FreeBSD_version);
-#if (HAVE_FREEBSD_SENDFILE)
+#if (HAVE_SENDFILE)
/*
* The determination of the sendfile() nbytes bug is complex enough.
@@ -127,7 +127,7 @@ int ngx_os_init(ngx_log_t *log)
#endif
-#endif /* HAVE_FREEBSD_SENDFILE */
+#endif /* HAVE_SENDFILE */
if ((version < 500000 && version >= 440003) || version >= 500017) {