From: Jeff Trawick Date: Fri, 8 Nov 2002 13:17:09 +0000 (+0000) Subject: adjust some parents to make the expression a tiny bit clearer and to X-Git-Tag: 2.0.44~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7a385a68654d795f0c8a642de825452aa610224;p=apache adjust some parents to make the expression a tiny bit clearer and to 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 --- diff --git a/server/core.c b/server/core.c index a2e8cd0de9..f11923059d 100644 --- a/server/core.c +++ b/server/core.c @@ -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)) {