Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-03-13 16:00:40 +0300
committerIgor Sysoev <igor@sysoev.ru>2008-03-13 16:00:40 +0300
commitc732d8d1fe7ef41ba88fae054024854ab2b2653c (patch)
treece069f8186b5ca8642efaf77e8a76fbb0fa143e4 /src/core/ngx_open_file_cache.c
parent3799f5cb4155ebf00520dd93823fb3c208016900 (diff)
fix the previous commit
Diffstat (limited to 'src/core/ngx_open_file_cache.c')
-rw-r--r--src/core/ngx_open_file_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c
index 6bb6fd252..a1692f101 100644
--- a/src/core/ngx_open_file_cache.c
+++ b/src/core/ngx_open_file_cache.c
@@ -411,7 +411,7 @@ failed:
cache->current--;
- if (of->fd != NGX_INVALID_FILE) {
+ 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);