]> granicus.if.org Git - apache/commitdiff
adjust some parents to make the expression a tiny bit clearer and to
authorJeff Trawick <trawick@apache.org>
Fri, 8 Nov 2002 13:17:09 +0000 (13:17 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 8 Nov 2002 13:17:09 +0000 (13:17 +0000)
make gcc happy

> core.c: In function `core_output_filter':
> core.c:3884: warning: suggest parentheses around && within ||

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

server/core.c

index a2e8cd0de9d033d3eb74c18b51bb8039be64bb63..f11923059dd5bfaa33b3f79d09c7782b1427cb97 100644 (file)
@@ -3878,8 +3878,8 @@ 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)) {