mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-06 22:29:23 +00:00
* 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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user