* Added a torrent::ClientInfo object to torrent::PeerInfo.

* Removed the old display::ClientInfo code.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@806 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-11-17 14:50:45 +00:00
parent a5e7acc61b
commit f9916b574f
7 changed files with 13 additions and 311 deletions
+1 -5
View File
@@ -47,7 +47,6 @@
#include "rak/algorithm.h"
#include "canvas.h"
#include "client_info.h"
#include "utils.h"
#include "window_peer_list.h"
@@ -140,10 +139,7 @@ WindowPeerList::redraw() {
x += 7;
char buf[128];
torrent::ClientInfo clientInfo;
torrent::client_list()->retrieve_id(&clientInfo, p.id());
print_client_version(buf, buf + 128, clientInfo);
print_client_version(buf, buf + 128, p.info()->client_info());
m_canvas->print(x, y, "%s", buf);