mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 12:42:31 +00:00
* Changed function calls in torrent::Download to be const.
* Cleaned up the code that handles printing of download stats, uses a char* for buffer for output more flexible concatenation. Closed torrents are displayed correctly now. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@497 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
void release_download();
|
||||
|
||||
torrent::Download& get_download() { return m_download; }
|
||||
const torrent::Download& get_download() const { return m_download; }
|
||||
std::string get_hash() { return m_download.get_hash(); }
|
||||
torrent::Bencode& get_bencode() { return torrent::download_bencode(m_download.get_hash()); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user