mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +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();
|
||||
|
||||
_totalPacketsQueued++;
|
||||
_totalBytesQueued += packet.getSizeWithHeader();
|
||||
_totalBytesQueued += packet->getSizeWithHeader();
|
||||
|
||||
// Make sure to wake our actual processing thread because we now have packets for it to process.
|
||||
_hasPackets.wakeAll();
|
||||
|
@ -279,7 +279,7 @@ bool PacketSender::nonThreadedProcess() {
|
|||
_packetsOverCheckInterval++;
|
||||
_totalPacketsSent++;
|
||||
|
||||
int packetSize = packetPair->second().getSizeWithHeader();
|
||||
int packetSize = packetPair->second()->getSizeWithHeader();
|
||||
|
||||
_totalBytesSent += packetSize;
|
||||
emit packetSent(packetSize);
|
||||
|
|
Loading…
Reference in a new issue