mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
replace a missing capture of received bytes
This commit is contained in:
parent
141394a664
commit
6d04d0cee1
1 changed files with 3 additions and 2 deletions
|
@ -129,8 +129,9 @@ void AvatarMixer::run() {
|
|||
|
||||
nodeList->possiblyPingInactiveNodes();
|
||||
|
||||
if (nodeList->getNodeSocket().readDatagram((char*) packetData, MAX_PACKET_SIZE,
|
||||
nodeSockAddr.getAddressPointer(), nodeSockAddr.getPortPointer()) &&
|
||||
if ((receivedBytes = nodeList->getNodeSocket().readDatagram((char*) packetData, MAX_PACKET_SIZE,
|
||||
nodeSockAddr.getAddressPointer(),
|
||||
nodeSockAddr.getPortPointer())) &&
|
||||
packetVersionMatch(packetData)) {
|
||||
switch (packetData[0]) {
|
||||
case PACKET_TYPE_HEAD_DATA:
|
||||
|
|
Loading…
Reference in a new issue