aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_files.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-25 14:17:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-25 14:17:28 +0000
commit48a28e2dad8d5190ebae5dbe2f7779f8e17884a1 (patch)
tree9aff32418924dac3e1f8c479904a2c2c6e6fa909 /src/os/win32/ngx_files.c
parent38a7faadfedd84ea7212d69ed610d06022e83928 (diff)
downloadnginx-48a28e2dad8d5190ebae5dbe2f7779f8e17884a1.tar.gz
nginx-48a28e2dad8d5190ebae5dbe2f7779f8e17884a1.zip
uniform ngx_directio_on/off() interface with other file functions
Diffstat (limited to 'src/os/win32/ngx_files.c')
-rw-r--r--src/os/win32/ngx_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c
index bfbb98fb0..70cab2f1c 100644
--- 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 *dir)
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;
}