summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-26 14:00:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-26 14:00:28 +0000
commit517a8fc588f5b915c50477944d8317f1df7c4dab (patch)
treeab42a2d1802fa75db8e72a8882003d39663d354a /src
parent7b7faed7d6baa6bafda991f159476518a6ac85f3 (diff)
downloadnginx-517a8fc588f5b915c50477944d8317f1df7c4dab.tar.gz
nginx-517a8fc588f5b915c50477944d8317f1df7c4dab.tar.bz2
delete unneeded condition
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_file_cache.c5
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;