inverted distance log in dht

This commit is contained in:
Arvid Norberg 2008-05-08 03:58:05 +00:00
parent 64cb8696cd
commit 5202056682
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ namespace
, end(v.end()); i != end; ++i)
{
#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
observer_ptr o(new (rpc.allocator().malloc()) get_peers_observer(ih, listen_port, rpc, f));
#ifndef NDEBUG