mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* Set "stopped" stated to newly added torrents, so they stay stopped
when restarting the client. * Renamed Bencode::operator[] to Bencode::get_key. * Added progress percentage for hash checking. * Correctly update the delegator priority when loading resume data with file priorities. * Don't allow file names with '\0' in them. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@597 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -119,7 +119,8 @@ print_download_status(char* buf, unsigned int length, core::Download* d) {
|
||||
buf += std::max(0, snprintf(buf, length, "Inactive: "));
|
||||
|
||||
if (d->get_download().is_hash_checking())
|
||||
buf += std::max(0, snprintf(buf, length, "Checking hash"));
|
||||
buf += std::max(0, snprintf(buf, length, "Checking hash [%2i%%]",
|
||||
(d->get_download().chunks_hashed() * 100) / d->get_download().chunks_total()));
|
||||
|
||||
else if (d->get_download().is_tracker_busy() &&
|
||||
d->get_download().tracker_focus() < d->get_download().size_trackers())
|
||||
|
||||
Reference in New Issue
Block a user