From 7d69c6f211044d9f5dcc2ae662ee21765d208443 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 9 Oct 2013 10:41:33 -0700 Subject: [PATCH] remove extraneous debugging in NodeList --- libraries/shared/src/NodeList.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/shared/src/NodeList.cpp b/libraries/shared/src/NodeList.cpp index b22b3188a6..1e4e7cfa8c 100644 --- a/libraries/shared/src/NodeList.cpp +++ b/libraries/shared/src/NodeList.cpp @@ -428,23 +428,19 @@ void NodeList::sendAssignment(Assignment& assignment) { } Node* NodeList::addOrUpdateNode(sockaddr* publicSocket, sockaddr* localSocket, char nodeType, uint16_t nodeId) { - qDebug() << "BEGIN:" << publicSocket << "and" << localSocket << "\n"; + NodeList::iterator node = end(); if (publicSocket) { for (node = begin(); node != end(); node++) { - qDebug() << "comparing to node with ID " << node->getNodeID() << "\n"; if (node->matches(publicSocket, localSocket, nodeType)) { // we already have this node, stop checking - qDebug() << "Matched node to existing\n"; break; } } } if (node == end()) { - qDebug() << "We're considering this a new node!\n"; - qDebug() << publicSocket << "and" << localSocket << "\n"; // we didn't have this node, so add them Node* newNode = new Node(publicSocket, localSocket, nodeType, nodeId);