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 2016/02/12 03:49:34 UTC

trafficserver git commit: TS-4132: clang-format

Repository: trafficserver
Updated Branches:
  refs/heads/master ffeaff3e6 -> 734940001


TS-4132: clang-format


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

Branch: refs/heads/master
Commit: 734940001010e86ed1cea546cbf0dddb14e9b4d2
Parents: ffeaff3
Author: Bryan Call <bc...@apache.org>
Authored: Thu Feb 11 18:49:27 2016 -0800
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Feb 11 18:49:27 2016 -0800

----------------------------------------------------------------------
 plugins/experimental/inliner/html-parser.cc     | 2 +-
 plugins/experimental/inliner/inliner-handler.cc | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/73494000/plugins/experimental/inliner/html-parser.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/inliner/html-parser.cc b/plugins/experimental/inliner/html-parser.cc
index a7dd9f1..ecd88fd 100644
--- a/plugins/experimental/inliner/html-parser.cc
+++ b/plugins/experimental/inliner/html-parser.cc
@@ -34,7 +34,7 @@ namespace inliner
   Attributes::operator std::string(void) const
   {
     std::string result;
-    for (Attributes::const_iterator item = begin() ; item != end(); ++item) {
+    for (Attributes::const_iterator item = begin(); item != end(); ++item) {
       if (!item->first.empty()) {
         if (!item->second.empty()) {
           result += item->first + "=\"" + item->second += "\" ";

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/73494000/plugins/experimental/inliner/inliner-handler.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/inliner/inliner-handler.cc b/plugins/experimental/inliner/inliner-handler.cc
index b5c3340..d075661 100644
--- a/plugins/experimental/inliner/inliner-handler.cc
+++ b/plugins/experimental/inliner/inliner-handler.cc
@@ -94,7 +94,7 @@ namespace inliner
   {
     std::string src;
 
-    for (Attributes::const_iterator item = a.begin() ; item != a.end(); ++item) {
+    for (Attributes::const_iterator item = a.begin(); item != a.end(); ++item) {
       if (!item->first.empty()) {
         src = item->second;
       }
@@ -105,7 +105,7 @@ namespace inliner
 
     if (isTagged) {
       std::string classes, original = " ";
-      for (Attributes::const_iterator item = a.begin() ; item != a.end(); ++item) {
+      for (Attributes::const_iterator item = a.begin(); item != a.end(); ++item) {
         if (!item->first.empty()) {
           if (!item->second.empty()) {
             if (item->first == "class") {