From: Igor Sysoev Date: Thu, 13 Mar 2008 13:00:40 +0000 (+0000) Subject: fix the previous commit X-Git-Tag: release-0.6.29~12 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=c732d8d1fe7ef41ba88fae054024854ab2b2653c;p=nginx.git fix the previous commit --- 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);