summaryrefslogtreecommitdiff
path: root/src/TorrentConsoleDownloadEngine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/TorrentConsoleDownloadEngine.cc')
-rw-r--r--src/TorrentConsoleDownloadEngine.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TorrentConsoleDownloadEngine.cc b/src/TorrentConsoleDownloadEngine.cc
index 1b411a29..c8fd7034 100644
--- a/src/TorrentConsoleDownloadEngine.cc
+++ b/src/TorrentConsoleDownloadEngine.cc
@@ -49,8 +49,8 @@ void TorrentConsoleDownloadEngine::sendStatistics() {
printf("Download Completed.");
} else {
printf("%s/%sB %d%% %s D:%.2f",
- Util::llitos(downloadLength, true).c_str(),
- Util::llitos(totalLength, true).c_str(),
+ Util::abbrevSize(downloadLength).c_str(),
+ Util::abbrevSizellitos(totalLength).c_str(),
(totalLength == 0 ?
0 : (int)((downloadLength*100)/totalLength)),
avgSpeed == 0 ? "-" : Util::secfmt(eta).c_str(),