changeset 2606:fd387fbb28c6

delete unneeded condition
author Igor Sysoev <igor@sysoev.ru>
date Thu, 26 Mar 2009 14:00:28 +0000
parents 2a301c21256a
children cb96a60c8f10
files src/http/ngx_http_file_cache.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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_requ
         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;