Browse Source

comment out a few TRACE messages that don't compile

Grant Limberg 9 years ago
parent
commit
de1b745988
1 changed files with 2 additions and 2 deletions
  1. 2 2
      node/IncomingPacket.cpp

+ 2 - 2
node/IncomingPacket.cpp

@@ -721,7 +721,7 @@ bool IncomingPacket::_doNETWORK_CONFIG_REQUEST(const RuntimeEnvironment *RR,cons
 					outp.compress();
 					outp.compress();
 					outp.armor(peer->key(),true);
 					outp.armor(peer->key(),true);
 					if (outp.size() > ZT_PROTO_MAX_PACKET_LENGTH) { // sanity check
 					if (outp.size() > ZT_PROTO_MAX_PACKET_LENGTH) { // sanity check
-						TRACE("NETWORK_CONFIG_REQUEST failed: internal error: netconf size %u is too large",(unsigned int)netconfStr.length());
+						//TRACE("NETWORK_CONFIG_REQUEST failed: internal error: netconf size %u is too large",(unsigned int)netconfStr.length());
 					} else {
 					} else {
 						RR->node->putPacket(_localAddress,_remoteAddress,outp.data(),outp.size());
 						RR->node->putPacket(_localAddress,_remoteAddress,outp.data(),outp.size());
 					}
 					}
@@ -748,7 +748,7 @@ bool IncomingPacket::_doNETWORK_CONFIG_REQUEST(const RuntimeEnvironment *RR,cons
 				} break;
 				} break;
 
 
 				case NetworkController::NETCONF_QUERY_INTERNAL_SERVER_ERROR:
 				case NetworkController::NETCONF_QUERY_INTERNAL_SERVER_ERROR:
-					TRACE("NETWORK_CONFIG_REQUEST failed: internal error: %s",netconf.get("error","(unknown)").c_str());
+					// TRACE("NETWORK_CONFIG_REQUEST failed: internal error: %s",netconf.get("error","(unknown)").c_str());
 					break;
 					break;
 
 
 				case NetworkController::NETCONF_QUERY_IGNORE:
 				case NetworkController::NETCONF_QUERY_IGNORE: