aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_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/stream/ngx_stream_geo_module.c
parentc7c13a21ada9aa51697a3d24ca2a3bd62db418fc (diff)
downloadnginx-32c7bd5102571ec20e45f620d2916e612e3b2016.tar.gz
nginx-32c7bd5102571ec20e45f620d2916e612e3b2016.zip
Style.
Diffstat (limited to 'src/stream/ngx_stream_geo_module.c')
-rw-r--r--src/stream/ngx_stream_geo_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream/ngx_stream_geo_module.c b/src/stream/ngx_stream_geo_module.c
index 220454631..b34316bdd 100644
--- a/src/stream/ngx_stream_geo_module.c
+++ b/src/stream/ngx_stream_geo_module.c
@@ -1327,6 +1327,7 @@ ngx_stream_geo_include_binary_base(ngx_conf_t *cf,
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) {