Mercurial > hg > nginx
diff src/http/modules/ngx_http_static_module.c @ 1048:c4f666fc3a7e
ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 18 Jan 2007 20:15:09 +0000 |
parents | c3ebeee31026 |
children | cc114c85be0f |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -126,7 +126,7 @@ ngx_http_static_handler(ngx_http_request return NGX_HTTP_INTERNAL_SERVER_ERROR; } - fd = ngx_open_file(path.data, NGX_FILE_RDONLY, NGX_FILE_OPEN); + fd = ngx_open_file(path.data, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0); if (fd == NGX_INVALID_FILE) { err = ngx_errno;