diff src/http/ngx_http_core_module.c @ 2277:732bf367dc08

NGX_OPEN_FILE_DIRECTIO_OFF
author Igor Sysoev <igor@sysoev.ru>
date Thu, 16 Oct 2008 13:31:00 +0000
parents 41b51261b726
children 4a878cbad757
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3470,7 +3470,7 @@ ngx_http_core_directio(ngx_conf_t *cf, n
     value = cf->args->elts;
 
     if (ngx_strcmp(value[1].data, "off") == 0) {
-        clcf->directio = NGX_MAX_OFF_T_VALUE;
+        clcf->directio = NGX_OPEN_FILE_DIRECTIO_OFF;
         return NGX_CONF_OK;
     }