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/09/08 18:24:34 UTC

[3/3] trafficserver git commit: TS-3874 clang-format

TS-3874 clang-format

(cherry picked from commit db639c3d8110ec3ef1df406b4758f1a760081936)


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

Branch: refs/heads/6.0.x
Commit: e78ce7093d8f865b981ce00b0c2e0b351d8cdb8e
Parents: 6bd972a
Author: Leif Hedstrom <zw...@apache.org>
Authored: Fri Aug 28 18:19:08 2015 -0600
Committer: Bryan Call <bc...@apache.org>
Committed: Tue Sep 8 09:21:43 2015 -0700

----------------------------------------------------------------------
 plugins/header_rewrite/conditions.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e78ce709/plugins/header_rewrite/conditions.cc
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/conditions.cc b/plugins/header_rewrite/conditions.cc
index 0336158..0f22400 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -246,8 +246,8 @@ ConditionHeader::append_value(std::string &s, const Resources &res)
       next_field_loc = TSMimeHdrFieldNextDup(bufp, hdr_loc, field_loc);
       TSDebug(PLUGIN_NAME, "Appending HEADER(%s) to evaluation value -> %.*s", _qualifier.c_str(), len, value);
       s.append(value, len);
-      // multiple headers with the same name must be symantically the same as one value which is comma seperated (http://tools.ietf.org/html/rfc2616#section-4.2)
-      if (next_field_loc){
+      // multiple headers with the same name must be semantically the same as one value which is comma seperated
+      if (next_field_loc) {
         s.append(",");
       }
       TSHandleMLocRelease(bufp, hdr_loc, field_loc);