]> granicus.if.org Git - apache/commitdiff
Fix a compile break. ap_set_content_length is a void function now, so we
authorRyan Bloom <rbb@apache.org>
Wed, 8 Nov 2000 02:46:00 +0000 (02:46 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 8 Nov 2000 02:46:00 +0000 (02:46 +0000)
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

index 5a58faed8f10e51ce72729a30a1a2fe371552b67..627e29e3438a1354a54d38f8e6c1ff1a647a03c7 100644 (file)
@@ -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;
     }