From ff4961a2056416638daa041eb6fe440aa02f8118 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 6 Mar 2016 03:16:09 +0100 Subject: [PATCH] Remove more debug output --- src/Components/Modules/Node.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Components/Modules/Node.cpp b/src/Components/Modules/Node.cpp index f8a6547d..ef99fb8a 100644 --- a/src/Components/Modules/Node.cpp +++ b/src/Components/Modules/Node.cpp @@ -114,7 +114,9 @@ namespace Components Node::Nodes.push_back(entry); +#ifdef DEBUG Logger::Print("Adding node %s...\n", address.GetString()); +#endif } } @@ -214,7 +216,9 @@ namespace Components Proto::Node::Packet packet; packet.set_challenge(entry->challenge); +#ifdef DEBUG Logger::Print("Sending registration request to %s\n", entry->address.GetString()); +#endif Network::SendCommand(entry->address, "nodeRegisterRequest", packet.SerializeAsString()); } else