repair send of path query packet

This commit is contained in:
Stephen Birarda 2015-07-07 16:02:21 -07:00
parent 05be8199c8
commit bb15326676
3 changed files with 5 additions and 5 deletions
domain-server/src
libraries/networking/src

View file

@ -1448,7 +1448,7 @@ void DomainServer::processDatagram(const QByteArray& receivedPacket, const HifiS
processICEPingReply(receivedPacket, senderSockAddr);
break;
}
case PacketTypeIceServerPeerInformation:
case PacketType::ICEServerPeerInformation:
processICEPeerInformation(receivedPacket);
break;
default:

View file

@ -422,10 +422,10 @@ void NodeList::sendDSPathQuery(const QString& newPath) {
if (numPathBytes + sizeof(numPathBytes) < pathQueryPacket.size() ) {
// append the size of the path to the query packet
pathQueryPacket.write(&numPathBytes, sizeof(numPathBytes));
pathQueryPacket->write(&numPathBytes, sizeof(numPathBytes));
// append the path itself to the query packet
pathQueryPacket.write(pathQueryUTF8);
pathQueryPacket->write(pathQueryUTF8);
qCDebug(networking) << "Sending a path query packet for path" << newPath << "to domain-server at"
<< _domainHandler.getSockAddr();

View file

@ -52,8 +52,8 @@ namespace PacketType {
DomainServerPathQuery,
DomainServerPathResponse,
DomainServerAddedNode,
IceServerPeerInformation,
IceServerQuery, // 25
ICEServerPeerInformation,
ICEServerQuery, // 25
OctreeStats,
Jurisdiction,
JurisdictionRequest,