]> granicus.if.org Git - apache/commitdiff
core_output_filter: straighten out the parens for the decision to set aside.
authorGreg Ames <gregames@apache.org>
Fri, 8 Nov 2002 19:20:04 +0000 (19:20 +0000)
committerGreg Ames <gregames@apache.org>
Fri, 8 Nov 2002 19:20:04 +0000 (19:20 +0000)
Pointed out by: gcc and Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97463 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index fb3010706a726776853001829596357ed67c3afb..c87ecefc1546c6c1e70b861e77ce5e951dc3dd50 100644 (file)
@@ -3878,10 +3878,10 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b)
          *      (IOW, this response is a bit more complex, but we save it
          *       with the hope of concatenating with another response)
          */
-        if ((nbytes + flen < AP_MIN_BYTES_TO_WRITE
-            && !fd && !more && !APR_BUCKET_IS_FLUSH(last_e))
+        if (nbytes + flen < AP_MIN_BYTES_TO_WRITE
+            && ((!fd && !more && !APR_BUCKET_IS_FLUSH(last_e))
                 || (APR_BUCKET_IS_EOS(last_e)
-                    && c->keepalive == AP_CONN_KEEPALIVE)) {
+                    && c->keepalive == AP_CONN_KEEPALIVE))) {
 
             /* NEVER save an EOS in here.  If we are saving a brigade with
              * an EOS bucket, then we are doing keepalive connections, and