fixed dht logging build

This commit is contained in:
Arvid Norberg 2011-05-23 06:37:43 +00:00
parent 6830eb10a9
commit f13de88b63
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ void node_impl::incoming_request(msg const& m, entry& e)
if (msg_keys[3] && msg_keys[3]->int_value() != 0) scrape = true;
lookup_peers(info_hash, prefix, reply, noseed, scrape);
#ifdef TORRENT_DHT_VERBOSE_LOGGING
if (ret) TORRENT_LOG(node) << " values: " << reply["values"].list().size();
if (reply.find_key("values")) TORRENT_LOG(node) << " values: " << reply["values"].list().size();
#endif
}
else if (strcmp(query, "find_node") == 0)