From c296542cc4a0512dc0d66fe022b632a065423197 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 21 Nov 2020 11:42:10 +0100 Subject: [PATCH] fixed typos --- ChangeLog | 1 + src/buffer.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6a9967ccd..4e3659e49f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ +TODO remove DebugError, TData& operator[](iPos), TData operator[](iPos) const, CVector& operator=(vecI) TODO change Clear All Stored Solo Settings to clear Mute as well (#731) diff --git a/src/buffer.cpp b/src/buffer.cpp index 95dc01e80b..fc87714c52 100755 --- a/src/buffer.cpp +++ b/src/buffer.cpp @@ -171,7 +171,7 @@ bool CNetBuf::Put ( const CVector& vecbyData, iSeqNumDiff -= 256; } - // The 1-byte sequence number wraps around at a count of 256. So if a packet is delayed + // The 1-byte sequence number wraps around at a count of 256. So, if a packet is delayed // further than this we cannot detect it. But it does not matter since such a packet is // more than 100 ms delayed so we have a bad network situation anyway. Therefore we // assume that the sequence number difference between the received and local counter is @@ -186,7 +186,7 @@ bool CNetBuf::Put ( const CVector& vecbyData, if ( iSeqNumDiff < 0 ) { // the received packet comes too late so we shift the "buffer window" to the past - // until the received packet it the very first packet in the buffer + // until the received packet is the very first packet in the buffer for ( int i = iSeqNumDiff; i < 0; i++ ) { // insert an invalid block at the shifted position