aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_geo_module.c
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/http/modules/ngx_http_geo_module.c
parentc7c13a21ada9aa51697a3d24ca2a3bd62db418fc (diff)
downloadnginx-32c7bd5102571ec20e45f620d2916e612e3b2016.tar.gz
nginx-32c7bd5102571ec20e45f620d2916e612e3b2016.zip
Style.
Diffstat (limited to 'src/http/modules/ngx_http_geo_module.c')
-rw-r--r--src/http/modules/ngx_http_geo_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c
index 46a8d7c14..45b1a8e49 100644
--- a/src/http/modules/ngx_http_geo_module.c
+++ b/src/http/modules/ngx_http_geo_module.c
@@ -1401,6 +1401,7 @@ ngx_http_geo_include_binary_base(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
file.log = cf->log;
file.fd = ngx_open_file(name->data, NGX_FILE_RDONLY, 0, 0);
+
if (file.fd == NGX_INVALID_FILE) {
err = ngx_errno;
if (err != NGX_ENOENT) {