fixes to remote peer download rate etimation

This commit is contained in:
Arvid Norberg
2007-06-14 21:47:00 +00:00
parent 5efe12dde6
commit 46bf2970fb
4 changed files with 32 additions and 18 deletions

View File

@@ -336,7 +336,7 @@ void print_peer_info(std::ostream& out, std::vector<libtorrent::peer_info> const
out << " " << i->country[0] << i->country[1];
}
#endif
out << (i->remote_dl_rate > 0 ? add_suffix(i->remote_dl_rate) + "/s ": " ") << " ";
out << " " << (i->remote_dl_rate > 0 ? add_suffix(i->remote_dl_rate) + "/s ": " ") << " ";
if (i->flags & peer_info::handshake)
{