inverted distance log in dht
This commit is contained in:
parent
64cb8696cd
commit
5202056682
|
@ -273,7 +273,7 @@ namespace
|
||||||
, end(v.end()); i != end; ++i)
|
, end(v.end()); i != end; ++i)
|
||||||
{
|
{
|
||||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||||
TORRENT_LOG(node) << " distance: " << distance_exp(ih, i->id);
|
TORRENT_LOG(node) << " distance: " << (160 - distance_exp(ih, i->id));
|
||||||
#endif
|
#endif
|
||||||
observer_ptr o(new (rpc.allocator().malloc()) get_peers_observer(ih, listen_port, rpc, f));
|
observer_ptr o(new (rpc.allocator().malloc()) get_peers_observer(ih, listen_port, rpc, f));
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
|
Loading…
Reference in New Issue