Mercurial > hg > nginx
comparison src/http/ngx_http_file_cache.c @ 3704:f220e5a5fb5e
initialize r->cache->file.fd with NGX_INVALID_FILE
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 Jul 2010 15:28:22 +0000 |
parents | b0a0686a85bb |
children | b9a64a91fe76 |
comparison
equal
deleted
inserted
replaced
3703:fa147e2f67d3 | 3704:f220e5a5fb5e |
---|---|
159 return NGX_ERROR; | 159 return NGX_ERROR; |
160 } | 160 } |
161 | 161 |
162 r->cache = c; | 162 r->cache = c; |
163 c->file.log = r->connection->log; | 163 c->file.log = r->connection->log; |
164 c->file.fd = NGX_INVALID_FILE; | |
164 | 165 |
165 return NGX_OK; | 166 return NGX_OK; |
166 } | 167 } |
167 | 168 |
168 | 169 |