From 3bdaee1ad9dd640db5854745240402dca49c066c Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Wed, 8 Nov 2000 02:46:00 +0000 Subject: [PATCH] Fix a compile break. ap_set_content_length is a void function now, so we can't check the return code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86862 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 5a58faed8f..627e29e343 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2966,8 +2966,8 @@ static int default_handler(request_rec *r) ap_set_last_modified(r); ap_set_etag(r); apr_table_setn(r->headers_out, "Accept-Ranges", "bytes"); - if (((errstatus = ap_meets_conditions(r)) != OK) - || (errstatus = ap_set_content_length(r, r->finfo.size))) { + ap_set_content_length(r, r->finfo.size); + if ((errstatus = ap_meets_conditions(r)) != OK) { apr_close(fd); return errstatus; } -- 2.50.1