aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_log_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-10-16 13:31:00 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-10-16 13:31:00 +0000
commitad1e123bfae5dcfd44ff82d12e59b4af58b2f8cf (patch)
treea8cd6e09137e1752ba7d00003222f1fd4139805a /src/http/modules/ngx_http_log_module.c
parent84ab8f2bc8200b091d87e893cb12c2f3a27e4306 (diff)
downloadnginx-ad1e123bfae5dcfd44ff82d12e59b4af58b2f8cf.tar.gz
nginx-ad1e123bfae5dcfd44ff82d12e59b4af58b2f8cf.zip
NGX_OPEN_FILE_DIRECTIO_OFF
Diffstat (limited to 'src/http/modules/ngx_http_log_module.c')
-rw-r--r--src/http/modules/ngx_http_log_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c
index 80bf22180..7a85d1b75 100644
--- 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_request_t *r, ngx_http_log_script_t *script,
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)