aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_cache.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-14 16:52:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-14 16:52:04 +0000
commit297c0487518d4b974a548dfd3d5d2f10c250177c (patch)
tree16667b611d5e4f4e88abd7d920fe20e0a7066b65 /src/http/ngx_http_cache.c
parent7f9d894e1069306f7361201a77efbe7b866024ff (diff)
downloadnginx-297c0487518d4b974a548dfd3d5d2f10c250177c.tar.gz
nginx-297c0487518d4b974a548dfd3d5d2f10c250177c.zip
nginx-0.0.1-2003-11-14-19:52:04 import
Diffstat (limited to 'src/http/ngx_http_cache.c')
-rw-r--r--src/http/ngx_http_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_cache.c b/src/http/ngx_http_cache.c
index 6e64af140..4f599ee67 100644
--- a/src/http/ngx_http_cache.c
+++ b/src/http/ngx_http_cache.c
@@ -78,7 +78,7 @@ int ngx_http_cache_open_file(ngx_http_request_t *r, ngx_http_cache_ctx_t *ctx,
return NGX_ERROR;
}
- if (ngx_file_uniq(ctx->file.info) == uniq) {
+ if (ngx_file_uniq((&ctx->file.info)) == uniq) {
if (ngx_close_file(ctx->file.fd) == NGX_FILE_ERROR) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno,
ngx_close_file_n " \"%s\" failed",