comparison src/http/ngx_http_cache.c @ 185:d5f50cefc322

nginx-0.0.1-2003-11-14-19:52:04 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 14 Nov 2003 16:52:04 +0000
parents 1bf718ce0dde
children c1f3a3c7c5db
comparison
equal deleted inserted replaced
184:1bf718ce0dde 185:d5f50cefc322
76 ngx_stat_fd_n " \"%s\" failed", ctx->file.name.data); 76 ngx_stat_fd_n " \"%s\" failed", ctx->file.name.data);
77 77
78 return NGX_ERROR; 78 return NGX_ERROR;
79 } 79 }
80 80
81 if (ngx_file_uniq(ctx->file.info) == uniq) { 81 if (ngx_file_uniq((&ctx->file.info)) == uniq) {
82 if (ngx_close_file(ctx->file.fd) == NGX_FILE_ERROR) { 82 if (ngx_close_file(ctx->file.fd) == NGX_FILE_ERROR) {
83 ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno, 83 ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno,
84 ngx_close_file_n " \"%s\" failed", 84 ngx_close_file_n " \"%s\" failed",
85 ctx->file.name.data); 85 ctx->file.name.data);
86 } 86 }