trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject trafficserver git commit: TS-306: Formatting fixes.
Date Mon, 02 Nov 2015 15:55:01 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 5cf0ae901 -> f648b17ea


TS-306: Formatting fixes.


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

Branch: refs/heads/master
Commit: f648b17ea00c2620e90105e025888d608e0d6b7c
Parents: 5cf0ae9
Author: Alan M. Carroll <solidwallofcode@yahoo-inc.com>
Authored: Mon Nov 2 09:54:43 2015 -0600
Committer: Alan M. Carroll <solidwallofcode@yahoo-inc.com>
Committed: Mon Nov 2 09:54:43 2015 -0600

----------------------------------------------------------------------
 cmd/traffic_manager/traffic_manager.cc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f648b17e/cmd/traffic_manager/traffic_manager.cc
----------------------------------------------------------------------
diff --git a/cmd/traffic_manager/traffic_manager.cc b/cmd/traffic_manager/traffic_manager.cc
index b2936ad..f12da0a 100644
--- a/cmd/traffic_manager/traffic_manager.cc
+++ b/cmd/traffic_manager/traffic_manager.cc
@@ -616,20 +616,20 @@ main(int argc, const char **argv)
   // we do it so TS is able to create BaseLogFiles for each value
   if (*bind_stdout != 0) {
     size_t l = strlen(lmgmt->proxy_options);
-    size_t n = 3 /* " --" */
-      + sizeof(TM_OPT_BIND_STDOUT) /* nul accounted for here */
-      + 1 /* space */
-      + strlen(bind_stdout);
+    size_t n = 3                            /* " --" */
+               + sizeof(TM_OPT_BIND_STDOUT) /* nul accounted for here */
+               + 1                          /* space */
+               + strlen(bind_stdout);
     lmgmt->proxy_options = static_cast<char *>(ats_realloc(lmgmt->proxy_options,
n + l));
     snprintf(lmgmt->proxy_options + l, n, " --%s %s", TM_OPT_BIND_STDOUT, bind_stdout);
   }
 
   if (*bind_stderr != 0) {
     size_t l = strlen(lmgmt->proxy_options);
-    size_t n = 3 /* space dash dash */
-      + sizeof(TM_OPT_BIND_STDERR) /* nul accounted for here */
-      + 1 /* space */
-      + strlen(bind_stderr);
+    size_t n = 3                            /* space dash dash */
+               + sizeof(TM_OPT_BIND_STDERR) /* nul accounted for here */
+               + 1                          /* space */
+               + strlen(bind_stderr);
     lmgmt->proxy_options = static_cast<char *>(ats_realloc(lmgmt->proxy_options,
n + l));
     snprintf(lmgmt->proxy_options + l, n, " --%s %s", TM_OPT_BIND_STDERR, bind_stderr);
   }


Mime
View raw message