Mercurial > hg > nginx
comparison src/os/win32/ngx_files.c @ 7086:577628e6b6a6
Style.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 09 Aug 2017 14:59:46 +0300 |
parents | fbdab7f38fd6 |
children | 061ec464813f |
comparison
equal
deleted
inserted
replaced
7085:2284008a2791 | 7086:577628e6b6a6 |
---|---|
328 { | 328 { |
329 LARGE_INTEGER size; | 329 LARGE_INTEGER size; |
330 | 330 |
331 fm->fd = ngx_open_file(fm->name, NGX_FILE_RDWR, NGX_FILE_TRUNCATE, | 331 fm->fd = ngx_open_file(fm->name, NGX_FILE_RDWR, NGX_FILE_TRUNCATE, |
332 NGX_FILE_DEFAULT_ACCESS); | 332 NGX_FILE_DEFAULT_ACCESS); |
333 | |
333 if (fm->fd == NGX_INVALID_FILE) { | 334 if (fm->fd == NGX_INVALID_FILE) { |
334 ngx_log_error(NGX_LOG_CRIT, fm->log, ngx_errno, | 335 ngx_log_error(NGX_LOG_CRIT, fm->log, ngx_errno, |
335 ngx_open_file_n " \"%s\" failed", fm->name); | 336 ngx_open_file_n " \"%s\" failed", fm->name); |
336 return NGX_ERROR; | 337 return NGX_ERROR; |
337 } | 338 } |