From b169d038fe2d3cc01979dd8ed6333504bbcd02f9 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Sat, 16 Sep 2006 10:50:00 +0000 Subject: Return rates in bytes/s instead of time factor * bytes/s. Clients should not need to know about the sample time. --- cli/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/stat.c') diff --git a/cli/stat.c b/cli/stat.c index 96f85c7..0ed75bf 100644 --- a/cli/stat.c +++ b/cli/stat.c @@ -88,9 +88,9 @@ print_stat(struct btstat *st) { print_percent(st->content_got, st->content_size); print_size(st->downloaded); - print_rate(st->rate_down / 20); + print_rate(st->rate_down); print_size(st->uploaded); - print_rate(st->rate_up / 20); + print_rate(st->rate_up); printf("%5u ", st->peers); print_percent(st->pieces_seen, st->torrent_pieces); if (st->tr_errors > 0) -- cgit 1.4.1