summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_open_file_cache.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-07 10:18:41 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-07 10:18:41 +0000
commitb5f5da3a37f2169d6745f7160203a792ab49cac0 (patch)
tree5c43c5c64900ac6279859f20aad437a74bb1aca7 /src/core/ngx_open_file_cache.c
parent6ea25ac7e7df387aa9ef1dee4187da21c2d86888 (diff)
downloadnginx-b5f5da3a37f2169d6745f7160203a792ab49cac0.tar.gz
nginx-b5f5da3a37f2169d6745f7160203a792ab49cac0.tar.bz2
r2007, r2025, r2042 merge:
style fixes
Diffstat (limited to 'src/core/ngx_open_file_cache.c')
-rw-r--r--src/core/ngx_open_file_cache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c
index baf546f07..d9ec1881b 100644
--- a/src/core/ngx_open_file_cache.c
+++ b/src/core/ngx_open_file_cache.c
@@ -413,13 +413,13 @@ failed:
if (file->count == 0) {
- if (file->fd != NGX_INVALID_FILE) {
- if (ngx_close_file(file->fd) == NGX_FILE_ERROR) {
- ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno,
- ngx_close_file_n " \"%s\" failed",
+ if (file->fd != NGX_INVALID_FILE) {
+ if (ngx_close_file(file->fd) == NGX_FILE_ERROR) {
+ ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno,
+ ngx_close_file_n " \"%s\" failed",
file->name);
- }
- }
+ }
+ }
ngx_free(file->name);
ngx_free(file);