mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-16 14:16:16 +00:00
* Minor cleanup in rtorrent.
* Changing priorities of closed torrents caused a crash due to empty ChunkSelector, fixed. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@615 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-5
@@ -47,17 +47,14 @@ class Download {
|
||||
public:
|
||||
typedef torrent::Download::ConnectionType ConnType;
|
||||
|
||||
Download();
|
||||
~Download() { release_download(); }
|
||||
Download(torrent::Download d);
|
||||
~Download();
|
||||
|
||||
bool is_open() { return m_download.is_open(); }
|
||||
inline bool is_done();
|
||||
|
||||
void start();
|
||||
|
||||
void set_download(torrent::Download d);
|
||||
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.info_hash(); }
|
||||
|
||||
Reference in New Issue
Block a user