Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-08-09 14:59:46 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-08-09 14:59:46 +0300
commit32c7bd5102571ec20e45f620d2916e612e3b2016 (patch)
treec037da77eb01716102ee40e80fe28dc92034fe30 /src/core/ngx_conf_file.c
parentc7c13a21ada9aa51697a3d24ca2a3bd62db418fc (diff)
Style.
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index ce8c602de..fb28a5a94 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -178,6 +178,7 @@ ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename)
/* open configuration file */
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",