commit | 2c9933c94f04eddba532e68f2be38d14b0a5621e | [log] [tgz] |
---|---|---|
author | Ryan Wickman <rwickman@memphis.edu> | Tue Jun 12 11:51:51 2018 -0500 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Oct 14 18:26:34 2018 -0400 |
tree | bf4ec6c481976f1eefa50f443b9e9884733f9ec3 | |
parent | a8b03df84db7b50e2a244595b1696f59b62f2ce4 [diff] [blame] |
chunks: fix impossible RTT values Change-Id: Ia7386c6186362be5c50ea291a949fd40ec0224b4 Refs: #4604
diff --git a/tools/chunks/catchunks/pipeline-interests-fixed-window.cpp b/tools/chunks/catchunks/pipeline-interests-fixed-window.cpp index 53178ee..1794310 100644 --- a/tools/chunks/catchunks/pipeline-interests-fixed-window.cpp +++ b/tools/chunks/catchunks/pipeline-interests-fixed-window.cpp
@@ -140,9 +140,7 @@ } } - BOOST_ASSERT(m_nReceived > 0); - if (m_hasFinalBlockId && - static_cast<uint64_t>(m_nReceived - 1) >= m_lastSegmentNo) { // all segments have been received + if (allSegmentsReceived()) { if (!m_options.isQuiet) { printSummary(); }