trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [13/28] git commit: Add parans to the _right_ place to fix build with -Wall
Date Mon, 27 Jan 2014 20:41:43 GMT
Add parans to the _right_ place to fix build with -Wall


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8cf2b4d7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8cf2b4d7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8cf2b4d7

Branch: refs/heads/5.0.x
Commit: 8cf2b4d7c46702c289b664df554623f6950dcfc3
Parents: e4e7940
Author: Uri Shachar <ushachar@apache.org>
Authored: Thu Jan 23 16:06:22 2014 +0200
Committer: Uri Shachar <ushachar@apache.org>
Committed: Thu Jan 23 16:06:22 2014 +0200

----------------------------------------------------------------------
 proxy/http/HttpTransact.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8cf2b4d7/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 2582d15..a3187b2 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -6753,8 +6753,8 @@ HttpTransact::handle_response_keep_alive_headers(State* s, HTTPVersion
ver, HTTP
     ka_action = KA_DISABLED;
   }
   else if (heads->status_get() == HTTP_STATUS_NO_CONTENT &&
-      (s->source == SOURCE_HTTP_ORIGIN_SERVER && s->current.server->transfer_encoding
!= NO_TRANSFER_ENCODING
-       || (heads->get_content_length() != 0))) {
+      ((s->source == SOURCE_HTTP_ORIGIN_SERVER && s->current.server->transfer_encoding
!= NO_TRANSFER_ENCODING)
+       || heads->get_content_length() != 0)) {
     // some systems hang until the connection closes when receiving a 204 regardless of the
K-A headers
     // close if there is any body response from the origin
     ka_action = KA_CLOSE;


Mime
View raw message