Mercurial > hg > nginx
diff src/http/modules/ngx_http_geo_module.c @ 7086:577628e6b6a6
Style.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 09 Aug 2017 14:59:46 +0300 |
parents | 3f82c1e7e29e |
children | 47b7ffc3339d |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c Wed Aug 09 14:59:44 2017 +0300 +++ b/src/http/modules/ngx_http_geo_module.c Wed Aug 09 14:59:46 2017 +0300 @@ -1401,6 +1401,7 @@ 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) {