comparison src/stream/ngx_stream_geo_module.c @ 7086:577628e6b6a6

Style.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 09 Aug 2017 14:59:46 +0300
parents 0ee6f023ef92
children 47b7ffc3339d
comparison
equal deleted inserted replaced
7085:2284008a2791 7086:577628e6b6a6
1325 ngx_memzero(&file, sizeof(ngx_file_t)); 1325 ngx_memzero(&file, sizeof(ngx_file_t));
1326 file.name = *name; 1326 file.name = *name;
1327 file.log = cf->log; 1327 file.log = cf->log;
1328 1328
1329 file.fd = ngx_open_file(name->data, NGX_FILE_RDONLY, 0, 0); 1329 file.fd = ngx_open_file(name->data, NGX_FILE_RDONLY, 0, 0);
1330
1330 if (file.fd == NGX_INVALID_FILE) { 1331 if (file.fd == NGX_INVALID_FILE) {
1331 err = ngx_errno; 1332 err = ngx_errno;
1332 if (err != NGX_ENOENT) { 1333 if (err != NGX_ENOENT) {
1333 ngx_conf_log_error(NGX_LOG_CRIT, cf, err, 1334 ngx_conf_log_error(NGX_LOG_CRIT, cf, err,
1334 ngx_open_file_n " \"%s\" failed", name->data); 1335 ngx_open_file_n " \"%s\" failed", name->data);