diff src/os/win32/ngx_files.c @ 3164:b1b1775698d5

uniform ngx_directio_on/off() interface with other file functions
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Sep 2009 14:17:28 +0000
parents 17afb68c2a9a
children 975f0558aab3
line wrap: on
line diff
--- a/src/os/win32/ngx_files.c
+++ b/src/os/win32/ngx_files.c
@@ -479,14 +479,14 @@ ngx_de_link_info(u_char *name, ngx_dir_t
 ngx_int_t
 ngx_directio_on(ngx_fd_t fd)
 {
-    return 0;
+    return ~NGX_FILE_ERROR;
 }
 
 
 ngx_int_t
 ngx_directio_off(ngx_fd_t fd)
 {
-    return 0;
+    return ~NGX_FILE_ERROR;
 }