* Cleanp of the encryption patch, minor changes.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@793 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-10-18 07:25:06 +00:00
parent dda5d0783d
commit 44a782e962
+1 -2
View File
@@ -107,8 +107,7 @@ WindowPeerList::redraw() {
m_canvas->print(x, y, "%.1f", (double)p.peer_rate()->rate() / 1024); x += 7;
m_canvas->print(x, y, "%c/%c%c/%c%c",
p.is_encrypted() ? p.is_incoming() ? 'R' : 'L' :
p.is_incoming() ? 'r' : 'l',
p.is_encrypted() ? (p.is_incoming() ? 'R' : 'L') : (p.is_incoming() ? 'r' : 'l'),
p.is_remote_choked() ? 'c' : 'u',
p.is_remote_interested() ? 'i' : 'n',
p.is_local_choked() ? 'c' : 'u',