mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
fix reference to NodePacketPair packet in PacketSender
This commit is contained in:
parent
bf625f5af1
commit
1cfa65a3df
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ void PacketSender::queuePacketForSending(const SharedNodePointer& destinationNod
|
||||||
unlock();
|
unlock();
|
||||||
|
|
||||||
_totalPacketsQueued++;
|
_totalPacketsQueued++;
|
||||||
_totalBytesQueued += packet.getSizeWithHeader();
|
_totalBytesQueued += packet->getSizeWithHeader();
|
||||||
|
|
||||||
// Make sure to wake our actual processing thread because we now have packets for it to process.
|
// Make sure to wake our actual processing thread because we now have packets for it to process.
|
||||||
_hasPackets.wakeAll();
|
_hasPackets.wakeAll();
|
||||||
|
@ -279,7 +279,7 @@ bool PacketSender::nonThreadedProcess() {
|
||||||
_packetsOverCheckInterval++;
|
_packetsOverCheckInterval++;
|
||||||
_totalPacketsSent++;
|
_totalPacketsSent++;
|
||||||
|
|
||||||
int packetSize = packetPair->second().getSizeWithHeader();
|
int packetSize = packetPair->second()->getSizeWithHeader();
|
||||||
|
|
||||||
_totalBytesSent += packetSize;
|
_totalBytesSent += packetSize;
|
||||||
emit packetSent(packetSize);
|
emit packetSent(packetSize);
|
||||||
|
|
Loading…
Reference in a new issue