lt sync 3243

This commit is contained in:
Andrew Resch 2009-02-09 23:23:26 +00:00
parent db23f6a723
commit 8bcc7ea232
1 changed files with 67 additions and 63 deletions

View File

@ -1637,6 +1637,9 @@ namespace libtorrent
dequeue_torrent_check(); dequeue_torrent_check();
if (m_state == torrent_status::checking_files)
set_state(torrent_status::queued_for_checking);
m_owning_storage = 0; m_owning_storage = 0;
m_host_resolver.cancel(); m_host_resolver.cancel();
} }
@ -2612,7 +2615,7 @@ namespace libtorrent
{ {
std::string new_filename = mapped_files->list_string_value_at(i); std::string new_filename = mapped_files->list_string_value_at(i);
if (new_filename.empty()) continue; if (new_filename.empty()) continue;
m_torrent_file->rename_file(i, new_filename); rename_file(i, new_filename);
} }
} }
@ -4787,3 +4790,4 @@ namespace libtorrent
#endif #endif
} }