You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/07/13 23:55:45 UTC

trafficserver git commit: Fixed formatting with clang-format

Repository: trafficserver
Updated Branches:
  refs/heads/master 08bc83f2d -> 669a45438


Fixed formatting with clang-format


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

Branch: refs/heads/master
Commit: 669a45438216265a07a96c772ca928d2053e3618
Parents: 08bc83f
Author: Bryan Call <bc...@apache.org>
Authored: Mon Jul 13 14:54:41 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Mon Jul 13 14:54:41 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/669a4543/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 16b96b0..d164c1a 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -1592,10 +1592,9 @@ HttpTransact::ReDNSRoundRobin(State *s)
 
     // Our ReDNS of the server succeeded so update the necessary
     //  information and try again. Need to preserve the current port value if possible.
-    in_port_t server_port =
-      s->current.server ? s->current.server->dst_addr.host_order_port() : s->server_info.dst_addr.isValid() ?
-                               s->server_info.dst_addr.host_order_port() :
-                               s->hdr_info.client_request.port_get();
+    in_port_t server_port = s->current.server ? s->current.server->dst_addr.host_order_port() : s->server_info.dst_addr.isValid() ?
+                                                s->server_info.dst_addr.host_order_port() :
+                                                s->hdr_info.client_request.port_get();
 
     ats_ip_copy(&s->server_info.dst_addr, s->host_db_info.ip());
     s->server_info.dst_addr.port() = htons(server_port);