removed debug

This commit is contained in:
ZappoMan 2013-08-20 11:27:31 -07:00
parent da6bd2e3b0
commit b0664163a7
2 changed files with 0 additions and 7 deletions

View file

@ -48,19 +48,13 @@ bool JurisdictionListener::queueJurisdictionRequest() {
}
void JurisdictionListener::processPacket(sockaddr& senderAddress, unsigned char* packetData, ssize_t packetLength) {
printf("processPacket()\n");
if (packetData[0] == PACKET_TYPE_VOXEL_JURISDICTION) {
printf("processPacket()... PACKET_TYPE_VOXEL_JURISDICTION\n");
Node* node = NodeList::getInstance()->nodeWithAddress(&senderAddress);
if (node) {
uint16_t nodeID = node->getNodeID();
JurisdictionMap map;
map.unpackFromMessage(packetData, packetLength);
_jurisdictions[nodeID] = map;
qDebug() << "Got a new map...\n";
map.displayDebugDetails();
}
}
}

View file

@ -25,7 +25,6 @@ JurisdictionSender::JurisdictionSender(JurisdictionMap* map, PacketSenderNotify*
void JurisdictionSender::processPacket(sockaddr& senderAddress, unsigned char* packetData, ssize_t packetLength) {
if (packetData[0] == PACKET_TYPE_VOXEL_JURISDICTION_REQUEST) {
printf("processPacket()... PACKET_TYPE_VOXEL_JURISDICTION_REQUEST\n");
Node* node = NodeList::getInstance()->nodeWithAddress(&senderAddress);
if (node) {
uint16_t nodeID = node->getNodeID();