mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
* Added 'get_d_ratio', 'view_list', 'get_d_tracker_focus',
'get_d_tracker_size', etc. * Added tracker commands. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@945 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -159,10 +159,10 @@ print_download_info(char* first, char* last, core::Download* d) {
|
||||
first = print_buffer(first, last, " ");
|
||||
}
|
||||
|
||||
first = print_buffer(first, last, " [%c%c R: %3.2f",
|
||||
first = print_buffer(first, last, " [%c%c R: %4.2f",
|
||||
rpc::call_command_d_string("get_d_tied_to_file", d).empty() ? ' ' : 'T',
|
||||
rpc::call_command_d_value("get_d_ignore_commands", d) == 0 ? ' ' : 'I',
|
||||
d->download()->bytes_done() > 0 ? (double)(100 * d->download()->up_rate()->total() / d->download()->bytes_done()) / 100 : 0.0);
|
||||
(double)rpc::call_command_d_value("get_d_ratio", d) / 1000.0);
|
||||
|
||||
if (d->priority() != 2)
|
||||
first = print_buffer(first, last, " %s]", rpc::call_command_d_string("get_d_priority_str", d).c_str());
|
||||
|
||||
Reference in New Issue
Block a user