From aced1fcac3db842d1e19f3d117ca5e5b4b9e46b0 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 13 Dec 2008 03:05:29 +0000 Subject: [PATCH] don't show connecting peers in client_test --- examples/client_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 9d4a5b831..9b06dd574 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -342,7 +342,7 @@ void print_peer_info(std::ostream& out, std::vector const for (std::vector::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(' ');