don't show connecting peers in client_test
This commit is contained in:
@@ -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();
|
for (std::vector<peer_info>::const_iterator i = peers.begin();
|
||||||
i != peers.end(); ++i)
|
i != peers.end(); ++i)
|
||||||
{
|
{
|
||||||
if (i->flags & (peer_info::handshake))
|
if (i->flags & (peer_info::handshake | peer_info::connecting | peer_info::queued))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
out.fill(' ');
|
out.fill(' ');
|
||||||
|
Reference in New Issue
Block a user