diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-03-26 14:00:28 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-03-26 14:00:28 +0000 |
| commit | 517a8fc588f5b915c50477944d8317f1df7c4dab (patch) | |
| tree | ab42a2d1802fa75db8e72a8882003d39663d354a | |
| parent | 7b7faed7d6baa6bafda991f159476518a6ac85f3 (diff) | |
| download | nginx-517a8fc588f5b915c50477944d8317f1df7c4dab.tar.gz nginx-517a8fc588f5b915c50477944d8317f1df7c4dab.tar.bz2 | |
delete unneeded condition
| -rw-r--r-- | src/http/ngx_http_file_cache.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 0cb81d934..efe0da6b0 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -356,10 +356,7 @@ ngx_http_file_cache_exists(ngx_http_request_t *r, ngx_http_file_cache_t *cache) if (fcn->uses >= r->cache->min_uses) { r->cache->exists = fcn->exists; - - if (fcn->body_start) { - r->cache->body_start = fcn->body_start; - } + r->cache->body_start = fcn->body_start; rc = NGX_OK; |
