diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 790ffde47..1eb9fc621 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -303,7 +303,7 @@ int peer_index(libtorrent::tcp::endpoint addr, std::vector const& peers) { using namespace libtorrent; - out << " down (total) up (total) que req flags source fail hshf sndb inactive wait disk block-progress " + out << " down (total) up (total) que req flags source fail hshf sndb inactive wait disk block-progress " #ifndef TORRENT_DISABLE_RESOLVE_COUNTRIES "country " #endif @@ -331,6 +331,7 @@ void print_peer_info(std::ostream& out, std::vector const << ((i->flags & peer_info::local_connection)?'l':'r') << ((i->flags & peer_info::seed)?'s':'.') << ((i->flags & peer_info::on_parole)?'p':'.') + << ((i->flags & peer_info::optimistic_unchoke)?'O':'.') #ifndef TORRENT_DISABLE_ENCRYPTION << ((i->flags & peer_info::rc4_encrypted)?'E': (i->flags & peer_info::plaintext_encrypted)?'e':'.')