From: Greg Stein Date: Wed, 8 Nov 2000 03:12:58 +0000 (+0000) Subject: ap_set_content_length() now has a void return. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=642253b406b2ff7d8effe4d14b8ebedc6ed58320;p=apache ap_set_content_length() now has a void return. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86863 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_file_cache.c b/modules/cache/mod_file_cache.c index ea10da4616..45ddd0176d 100644 --- a/modules/cache/mod_file_cache.c +++ b/modules/cache/mod_file_cache.c @@ -457,10 +457,10 @@ static int file_cache_handler(request_rec *r) ap_update_mtime(r, match->finfo.mtime); ap_set_last_modified(r); ap_set_etag(r); - if (((errstatus = ap_meets_conditions(r)) != OK) - || (errstatus = ap_set_content_length (r, match->finfo.size))) { - return errstatus; + if ((errstatus = ap_meets_conditions(r)) != OK) { + return errstatus; } + ap_set_content_length(r, match->finfo.size); rangestatus = ap_set_byterange(r); ap_send_http_header(r);