lt sync 3243
This commit is contained in:
parent
db23f6a723
commit
8bcc7ea232
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue