don't show connecting peers in client_test

This commit is contained in:
Arvid Norberg 2008-12-13 03:05:29 +00:00
parent 8cd106833d
commit aced1fcac3
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ void print_peer_info(std::ostream& out, std::vector<libtorrent::peer_info> const
for (std::vector<peer_info>::const_iterator i = peers.begin();
i != peers.end(); ++i)
{
if (i->flags & (peer_info::handshake))
if (i->flags & (peer_info::handshake | peer_info::connecting | peer_info::queued))
continue;
out.fill(' ');