trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mas...@apache.org
Subject [trafficserver] branch quic-latest updated: Fix the last fix
Date Thu, 14 Dec 2017 07:31:07 GMT
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 30bb941  Fix the last fix
30bb941 is described below

commit 30bb94126f0e87e5b184307c4cf45cf983d59f54
Author: Masakazu Kitajo <maskit@apache.org>
AuthorDate: Thu Dec 14 16:30:40 2017 +0900

    Fix the last fix
---
 iocore/net/QUICPacketHandler.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/net/QUICPacketHandler.cc b/iocore/net/QUICPacketHandler.cc
index 97ad727..e07dec5 100644
--- a/iocore/net/QUICPacketHandler.cc
+++ b/iocore/net/QUICPacketHandler.cc
@@ -101,9 +101,9 @@ QUICPacketHandler::_read_connection_id(QUICConnectionId &cid, IOBufferBlock
*blo
     cid = QUICTypeUtil::read_QUICConnectionId(buf + cid_offset, cid_len);
   } else {
     if (QUICTypeUtil::has_connection_id(buf)) {
-      return false;
-    } else {
       cid = QUICTypeUtil::read_QUICConnectionId(buf + cid_offset, cid_len);
+    } else {
+      return false;
     }
   }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message