You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/04/04 17:08:23 UTC

[3/3] trafficserver git commit: TS-3482 Well, I just failed ... Forgot clang-format

TS-3482 Well, I just failed ... Forgot clang-format

(cherry picked from commit edf29f3e2aee74ca419f5d95b078eaeffabd619a)


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

Branch: refs/heads/5.3.x
Commit: ee2c952465bb5a7a7e9e09bd095e6c36a7fa78b0
Parents: 2b404e5
Author: Leif Hedstrom <zw...@apache.org>
Authored: Sat Apr 4 08:54:45 2015 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Sat Apr 4 09:02:28 2015 -0600

----------------------------------------------------------------------
 proxy/http2/Http2ConnectionState.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ee2c9524/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 9f74df7..9f90858 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -609,8 +609,8 @@ Http2ConnectionState::main_event_handler(int event, void *edata)
       param.id = id;
       param.value = server_settings.get(id);
       http2_write_settings(param, iov);
-      iov.iov_base = reinterpret_cast<uint8_t*>(iov.iov_base) + HTTP2_SETTINGS_PARAMETER_LEN;
-      iov.iov_len  -= HTTP2_SETTINGS_PARAMETER_LEN;
+      iov.iov_base = reinterpret_cast<uint8_t *>(iov.iov_base) + HTTP2_SETTINGS_PARAMETER_LEN;
+      iov.iov_len -= HTTP2_SETTINGS_PARAMETER_LEN;
     }
 
     settings.finalize(HTTP2_SETTINGS_PARAMETER_LEN * (HTTP2_SETTINGS_MAX - 1));