mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 08:16:21 +02:00
Merge pull request #7492 from birarda/next-packet-delta
fix for incorrect next packet delta in udt::SendQueue
This commit is contained in:
commit
b6ce7a7db8
1 changed files with 2 additions and 2 deletions
|
@ -404,8 +404,8 @@ int SendQueue::maybeSendNewPacket() {
|
||||||
_socket->writeBasePacket(*pairTailPacket, _destination);
|
_socket->writeBasePacket(*pairTailPacket, _destination);
|
||||||
}
|
}
|
||||||
|
|
||||||
// we attempted to send two packets, return 2
|
// return the number of attempted packet sends
|
||||||
return 2;
|
return shouldSendPairTail ? 2 : 1;
|
||||||
} else {
|
} else {
|
||||||
// we attempted to send a single packet, return 1
|
// we attempted to send a single packet, return 1
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue