diff --git a/srtcore/core.cpp b/srtcore/core.cpp index 084cad670..7fe1c3202 100644 --- a/srtcore/core.cpp +++ b/srtcore/core.cpp @@ -6304,7 +6304,7 @@ int srt::CUDT::receiveBuffer(char *data, int len) throw CUDTException(MJ_AGAIN, MN_RDAVAIL, 0); } - // Kick TsbPd thread to schedule next wakeup (if running) + // Kick TsbPd thread to schedule the next wakeup (if running) if (m_config.iRcvTimeOut < 0) { THREAD_PAUSED(); @@ -6415,7 +6415,7 @@ int srt::CUDT::sndDropTooLate() // If some packets were dropped update stats, socket state, loss list and the parent group if any. enterCS(m_StatsLock); - m_stats.sndr.dropped.count(dbytes);; + m_stats.sndr.dropped.count(stats::BytesPackets((uint64_t)dbytes, (uint32_t)dpkts)); leaveCS(m_StatsLock); IF_HEAVY_LOGGING(const int32_t realack = m_iSndLastDataAck);