From 59e5e7c95b3c153f84a73f18335433b3f7b0f399 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 30 Sep 2008 15:54:14 +0000 Subject: [PATCH] (daemon) #1310: Output of transmission-remote --list gets unaligned when up/download speed exceeds 1000 KB/s --- daemon/remote.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/remote.c b/daemon/remote.c index d549617f8..717b3eb26 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -955,7 +955,7 @@ printTorrentList( tr_benc * top ) && ( tr_bencDictFindList( args, "torrents", &list ) ) ) { int i, n; - printf( "%-3s %-4s %-8s %-5s %-5s %-5s %-11s %s\n", + printf( "%-3s %-4s %-8s %-6s %-6s %-5s %-11s %s\n", "ID", "Done", "ETA", "Up", "Down", "Ratio", "Status", "Name" ); for( i = 0, n = tr_bencListSize( list ); i < n; ++i ) @@ -982,7 +982,7 @@ printTorrentList( tr_benc * top ) else tr_snprintf( etaStr, sizeof( etaStr ), "Done" ); printf( - "%3d %3d%% %-8s %5.1f %5.1f %5.1f %-11s %s\n", + "%3d %3d%% %-8s %6.1f %6.1f %5.1f %-11s %s\n", (int)id, (int)( 100.0 * ( sizeWhenDone - leftUntilDone ) / sizeWhenDone ),