added optimistic unchoke flag to client_test

This commit is contained in:
Arvid Norberg 2007-08-22 05:02:45 +00:00
parent 1399b623bc
commit ee01d7bb11
1 changed files with 2 additions and 1 deletions

View File

@ -331,6 +331,7 @@ void print_peer_info(std::ostream& out, std::vector<libtorrent::peer_info> const
<< ((i->flags & peer_info::local_connection)?'l':'r') << ((i->flags & peer_info::local_connection)?'l':'r')
<< ((i->flags & peer_info::seed)?'s':'.') << ((i->flags & peer_info::seed)?'s':'.')
<< ((i->flags & peer_info::on_parole)?'p':'.') << ((i->flags & peer_info::on_parole)?'p':'.')
<< ((i->flags & peer_info::optimistic_unchoke)?'O':'.')
#ifndef TORRENT_DISABLE_ENCRYPTION #ifndef TORRENT_DISABLE_ENCRYPTION
<< ((i->flags & peer_info::rc4_encrypted)?'E': << ((i->flags & peer_info::rc4_encrypted)?'E':
(i->flags & peer_info::plaintext_encrypted)?'e':'.') (i->flags & peer_info::plaintext_encrypted)?'e':'.')