mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 22:59:21 +00:00
* Fixed the log redraw which didn't happen as the display's scheduler
didn't get re-added to the task scheduler until a new event happened. * Added redraw delay interval of 100ms, consider 50ms. * Removed exceptions from core::DownloadStore::save. * Added load, load_run, tied_stop and tied_remove to man-page. * Cleaned up the command/option instances, move them to Control. * PCB::load_up_chunk grabbed the errno from m_downChunk, not m_upChunk. * Various string operations were moved to rak/string_manip.h. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@617 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-2
@@ -180,7 +180,7 @@ Manager::erase(DListItr itr) {
|
||||
void
|
||||
Manager::start(Download* d, bool printLog) {
|
||||
try {
|
||||
d->get_bencode().get_key("rtorrent").get_key("state") = "started";
|
||||
d->get_bencode().get_key("rtorrent").insert_key("state", "started");
|
||||
|
||||
if (d->get_download().is_active())
|
||||
return;
|
||||
@@ -205,7 +205,7 @@ Manager::start(Download* d, bool printLog) {
|
||||
void
|
||||
Manager::stop(Download* d) {
|
||||
try {
|
||||
d->get_bencode().get_key("rtorrent").get_key("state") = "stopped";
|
||||
d->get_bencode().get_key("rtorrent").insert_key("state", "stopped");
|
||||
|
||||
m_downloadList.stop(d);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user