diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-07-19 15:28:22 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-07-19 15:28:22 +0000 |
| commit | b1327bd8424214807cf3ca3be8a972180981da19 (patch) | |
| tree | 69453b1337a883094a66743113184349dd6acefc | |
| parent | 1daef7d1b0041b9ff9796b6e0eb6776ca43bec85 (diff) | |
| download | nginx-b1327bd8424214807cf3ca3be8a972180981da19.tar.gz nginx-b1327bd8424214807cf3ca3be8a972180981da19.tar.bz2 | |
initialize r->cache->file.fd with NGX_INVALID_FILE
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_file_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 2fefe095b..4dc2b5741 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -161,6 +161,7 @@ ngx_http_file_cache_new(ngx_http_request_t *r) r->cache = c; c->file.log = r->connection->log; + c->file.fd = NGX_INVALID_FILE; return NGX_OK; } |
