SOURCES: rtorrent-colors.patch - updated to 0.7.9
adamg
adamg at pld-linux.org
Wed Dec 19 10:13:57 CET 2007
Author: adamg Date: Wed Dec 19 09:13:56 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to 0.7.9
---- Files affected:
SOURCES:
rtorrent-colors.patch (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SOURCES/rtorrent-colors.patch
diff -u SOURCES/rtorrent-colors.patch:1.17 SOURCES/rtorrent-colors.patch:1.18
--- SOURCES/rtorrent-colors.patch:1.17 Fri Jan 26 18:15:26 2007
+++ SOURCES/rtorrent-colors.patch Wed Dec 19 10:13:50 2007
@@ -135,15 +135,15 @@
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",
+ first = print_buffer(first, last, " [%c%c",
- d->get_string("tied_to_file").empty() ? ' ' : 'T',
-- d->get_value("ignore_commands") == 0 ? ' ' : 'I',
-- d->download()->bytes_done() > 0 ? (double)(100 * d->download()->up_rate()->total() / d->download()->bytes_done()) / 100 : 0.0);
-+ d->get_value("ignore_commands") == 0 ? ' ' : 'I');
+ rpc::call_command_string("d.get_tied_to_file", rpc::make_target(d)).empty() ? ' ' : 'T',
+- rpc::call_command_value("d.get_ignore_commands", rpc::make_target(d)) == 0 ? ' ' : 'I',
+- (double)rpc::call_command_value("d.get_ratio", rpc::make_target(d)) / 1000.0);
++ rpc::call_command_value("d.get_ignore_commands", rpc::make_target(d)) == 0 ? ' ' : 'I');
if (d->priority() != 2)
- first = print_buffer(first, last, " %s]", core::Download::priority_to_string(d->priority()));
+ first = print_buffer(first, last, " %s]", rpc::call_command_string("d.get_priority_str", rpc::make_target(d)).c_str());
@@ -231,17 +230,18 @@
print_client_version(char* first, char* last, const torrent::ClientInfo& clientInfo) {
switch (torrent::ClientInfo::version_size(clientInfo.type())) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rtorrent-colors.patch?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list