diff src/core/ngx_conf_file.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 666302d1234c
children db7c468c447d
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -76,7 +76,7 @@ ngx_conf_parse(ngx_conf_t *cf, ngx_str_t
 
         /* open configuration file */
 
-        fd = ngx_open_file(filename->data, NGX_FILE_RDONLY, NGX_FILE_OPEN);
+        fd = ngx_open_file(filename->data, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0);
         if (fd == NGX_INVALID_FILE) {
             ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno,
                                ngx_open_file_n " \"%s\" failed",