forked from premiere/premiere-libtorrent
fixed dht logging build
This commit is contained in:
parent
6830eb10a9
commit
f13de88b63
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue