fix the previous commit

This commit is contained in:
Igor Sysoev 2008-03-13 13:00:40 +00:00
parent 3799f5cb41
commit c732d8d1fe

View File

@ -411,7 +411,7 @@ failed:
cache->current--; cache->current--;
if (of->fd != NGX_INVALID_FILE) { if (file->fd != NGX_INVALID_FILE) {
if (ngx_close_file(file->fd) == NGX_FILE_ERROR) { if (ngx_close_file(file->fd) == NGX_FILE_ERROR) {
ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno, ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno,
ngx_close_file_n " \"%s\" failed", file->name); ngx_close_file_n " \"%s\" failed", file->name);