mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 02:11:43 +00:00
fixed possible overflow
This commit is contained in:
1 parent
34d106a9f5
commit
f946ed6a12
1 file changed
+1
-1
@@ -1194,7 +1194,7 @@ namespace stream
|
||||
int32_t lastReceivedSeqn = m_LastReceivedSequenceNumber;
|
||||
// for limit inbound speed
|
||||
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
|
||||
int numPackets = 0;
|
||||
int64_t numPackets = 0;
|
||||
bool lostPackets = false;
|
||||
int64_t passedTime = m_PacketACKInterval * INITIAL_WINDOW_SIZE; // in microseconds // while m_LastACKSendTime == 0
|
||||
if (m_LastACKSendTime)
|
||||
|
||||
Reference in new issue
Block a user