Merge branch 'master' of https://github.com/highfidelity/hifi into import-export-parents

This commit is contained in:
howard-stearns 2016-03-28 14:26:18 -07:00
commit db13b15337

View file

@ -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;