You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jr...@apache.org on 2016/03/16 17:17:58 UTC

trafficserver git commit: TS-4115: fix clang-format warning.

Repository: trafficserver
Updated Branches:
  refs/heads/master 824f2ab7b -> cd04bda90


TS-4115: fix clang-format warning.


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

Branch: refs/heads/master
Commit: cd04bda906c5bcba0fc810ddb6ccc9f912fd5909
Parents: 824f2ab
Author: John J. Rushford <Jo...@cable.comcast.com>
Authored: Wed Mar 16 16:17:40 2016 +0000
Committer: John J. Rushford <Jo...@cable.comcast.com>
Committed: Wed Mar 16 16:17:40 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cd04bda9/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 55654d6..00c1b2c 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -7793,10 +7793,10 @@ HttpTransact::build_request(State *s, HTTPHdr *base_request, HTTPHdr *outgoing_r
       // don't have a host anywhere.
       outgoing_request->set_url_target_from_host_field();
     } else if (s->current.request_to == PARENT_PROXY && !s->parent_result.rec->parent_is_proxy &&
-           outgoing_request->is_target_in_url()) {
-        // If the parent is an origin server remove the hostname from the url.
-        DebugTxn("http_trans", "[build_request] removing target from URL for a parent origin.");
-        HttpTransactHeaders::remove_host_name_from_url(outgoing_request);
+               outgoing_request->is_target_in_url()) {
+      // If the parent is an origin server remove the hostname from the url.
+      DebugTxn("http_trans", "[build_request] removing target from URL for a parent origin.");
+      HttpTransactHeaders::remove_host_name_from_url(outgoing_request);
     }
   }