mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
* Renamed TrackerInfo to DownloadInfo, moved it to DownloadMain and
cleaned up DownloadWrapper etc. * Resume total upload from the client rather than torrent::Download::hash_resume_load(...). * Show client names and versions. (incomplete) git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@646 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "rak/algorithm.h"
|
||||
|
||||
#include "canvas.h"
|
||||
#include "client_info.h"
|
||||
#include "window_peer_list.h"
|
||||
|
||||
namespace display {
|
||||
@@ -125,6 +126,13 @@ WindowPeerList::redraw() {
|
||||
if (p.is_snubbed())
|
||||
m_canvas->print(x, y, "*");
|
||||
|
||||
x += 5;
|
||||
|
||||
char buf[128];
|
||||
control->client_info()->print(buf, buf + 128, p.id().c_str());
|
||||
|
||||
m_canvas->print(x, y, "%s", buf);
|
||||
|
||||
++y;
|
||||
++range.first;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user