forked from premiere/premiere-libtorrent
don't show connecting peers in client_test
This commit is contained in:
parent
8cd106833d
commit
aced1fcac3
|
@ -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(' ');
|
||||
|
|
Loading…
Reference in New Issue