From bf28ea7ac72a2abc32e5af952b14112e7d93d50f Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 3 Jul 2016 18:49:02 -0400 Subject: [PATCH] removed debug info in udpstack.cc --- libbitdht/src/udp/udpstack.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libbitdht/src/udp/udpstack.cc b/libbitdht/src/udp/udpstack.cc index 381fc182d..a66f4c6e2 100644 --- a/libbitdht/src/udp/udpstack.cc +++ b/libbitdht/src/udp/udpstack.cc @@ -87,8 +87,10 @@ bool UdpStack::getLocalAddress(struct sockaddr_in &local) bool UdpStack::resetAddress(struct sockaddr_in &local) { - std::cerr << "UdpStack::resetAddress(" << local << ")"; +#ifdef DEBUG_UDP_RECV + std::cerr << "UdpStack::resetAddress(" << local << ")"; std::cerr << std::endl; +#endif laddr = local; return udpLayer->reset(local);