mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 03:32:29 +00:00
* A seperate variable for hashing state, now properly restarts hashing
after restart. * Stop a torrent and show a message when it finishes the final hash-check and finds some chunks incomplete. This prevents full disk from causing a torrent to go into an infinit loop of re-downloading the data. * Moved various slots from core::Manager to core::DownloadList. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@679 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -155,6 +155,16 @@ VariableObject::set(const torrent::Object& arg) {
|
||||
// New and prettified.
|
||||
//
|
||||
|
||||
const torrent::Object&
|
||||
VariableVoidSlot::get() {
|
||||
return m_cache;
|
||||
}
|
||||
|
||||
void
|
||||
VariableVoidSlot::set(const torrent::Object& arg) {
|
||||
m_slotSet();
|
||||
}
|
||||
|
||||
const torrent::Object&
|
||||
VariableValueSlot::get() {
|
||||
m_cache = m_slotGet() / m_unit;
|
||||
|
||||
Reference in New Issue
Block a user