Remove more debug output

This commit is contained in:
momo5502 2016-03-06 03:16:09 +01:00
parent 997f7be59e
commit ff4961a205

View File

@ -114,7 +114,9 @@ namespace Components
Node::Nodes.push_back(entry); Node::Nodes.push_back(entry);
#ifdef DEBUG
Logger::Print("Adding node %s...\n", address.GetString()); Logger::Print("Adding node %s...\n", address.GetString());
#endif
} }
} }
@ -214,7 +216,9 @@ namespace Components
Proto::Node::Packet packet; Proto::Node::Packet packet;
packet.set_challenge(entry->challenge); packet.set_challenge(entry->challenge);
#ifdef DEBUG
Logger::Print("Sending registration request to %s\n", entry->address.GetString()); Logger::Print("Sending registration request to %s\n", entry->address.GetString());
#endif
Network::SendCommand(entry->address, "nodeRegisterRequest", packet.SerializeAsString()); Network::SendCommand(entry->address, "nodeRegisterRequest", packet.SerializeAsString());
} }
else else