You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/05/14 01:30:46 UTC

[trafficserver] branch quic-latest updated: clang-format

This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/quic-latest by this push:
     new 7770308  clang-format
7770308 is described below

commit 7770308bad1314cb6b49a5f137ee729d5dc89162
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Mon May 14 10:30:25 2018 +0900

    clang-format
---
 iocore/net/quic/QUICAckFrameCreator.h       | 1 +
 iocore/net/quic/QUICAltConnectionManager.cc | 2 +-
 iocore/net/quic/QUICAltConnectionManager.h  | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/iocore/net/quic/QUICAckFrameCreator.h b/iocore/net/quic/QUICAckFrameCreator.h
index 5913e8d..d474aad 100644
--- a/iocore/net/quic/QUICAckFrameCreator.h
+++ b/iocore/net/quic/QUICAckFrameCreator.h
@@ -44,6 +44,7 @@ public:
   ink_hrtime largest_ack_received_time();
 
   const QUICPacketNumber &operator[](int i) const { return this->_packet_numbers[i]; }
+
 private:
   QUICPacketNumber _largest_ack_number  = 0;
   ink_hrtime _largest_ack_received_time = 0;
diff --git a/iocore/net/quic/QUICAltConnectionManager.cc b/iocore/net/quic/QUICAltConnectionManager.cc
index a4040e3..3b1ce23 100644
--- a/iocore/net/quic/QUICAltConnectionManager.cc
+++ b/iocore/net/quic/QUICAltConnectionManager.cc
@@ -29,7 +29,7 @@ QUICAltConnectionManager::QUICAltConnectionManager(QUICConnection *qc, QUICConne
 {
   QUICConfig::scoped_config params;
 
-  this->_nids = params->max_alt_connection_ids();
+  this->_nids                    = params->max_alt_connection_ids();
   this->_alt_quic_connection_ids = static_cast<AltConnectionInfo *>(ats_malloc(sizeof(AltConnectionInfo) * this->_nids));
   this->_update_alt_connection_ids(-1);
 }
diff --git a/iocore/net/quic/QUICAltConnectionManager.h b/iocore/net/quic/QUICAltConnectionManager.h
index d05db44..2863794 100644
--- a/iocore/net/quic/QUICAltConnectionManager.h
+++ b/iocore/net/quic/QUICAltConnectionManager.h
@@ -55,7 +55,7 @@ private:
   QUICConnection *_qc = nullptr;
   QUICConnectionTable &_ctable;
   AltConnectionInfo *_alt_quic_connection_ids;
-  uint8_t _nids                           = 0;
+  uint8_t _nids                          = 0;
   int8_t _alt_quic_connection_id_seq_num = 0;
   bool _need_advertise                   = false;
 

-- 
To stop receiving notification emails like this one, please contact
maskit@apache.org.