diff src/http/modules/ngx_http_log_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 07bf557a2e40
children a6d6d762c554
line wrap: on
line diff
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -433,7 +433,7 @@ ngx_http_log_script_write(ngx_http_reque
     of.log = 1;
     of.valid = llcf->open_file_cache_valid;
     of.min_uses = llcf->open_file_cache_min_uses;
-    of.directio = NGX_MAX_OFF_T_VALUE;
+    of.directio = NGX_OPEN_FILE_DIRECTIO_OFF;
 
     if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool)
         != NGX_OK)