From 31d8c7d9b7324d5773b5bf5efdd7f565f337faab Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 12 Dec 2010 03:45:49 +0000 Subject: [PATCH] fixed non dht-logging build --- src/kademlia/routing_table.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kademlia/routing_table.cpp b/src/kademlia/routing_table.cpp index 580326554..11408864d 100644 --- a/src/kademlia/routing_table.cpp +++ b/src/kademlia/routing_table.cpp @@ -221,7 +221,9 @@ bool routing_table::need_refresh(node_id& target) const TORRENT_ASSERT(distance_exp(m_id, target) == 160 - num_bits); +#ifdef TORRENT_DHT_VERBOSE_LOGGING TORRENT_LOG(table) << "need_refresh [ bucket: " << num_bits << " target: " << target << " ]"; +#endif m_last_refresh = now; return true; }