mirror of https://github.com/aria2/aria2
Fixed compilation error.
parent
2d71034e03
commit
acccec67be
|
@ -50,7 +50,7 @@ void TorrentConsoleDownloadEngine::sendStatistics() {
|
||||||
} else {
|
} else {
|
||||||
printf("%s/%sB %d%% %s D:%.2f",
|
printf("%s/%sB %d%% %s D:%.2f",
|
||||||
Util::abbrevSize(downloadLength).c_str(),
|
Util::abbrevSize(downloadLength).c_str(),
|
||||||
Util::abbrevSizellitos(totalLength).c_str(),
|
Util::abbrevSize(totalLength).c_str(),
|
||||||
(totalLength == 0 ?
|
(totalLength == 0 ?
|
||||||
0 : (int)((downloadLength*100)/totalLength)),
|
0 : (int)((downloadLength*100)/totalLength)),
|
||||||
avgSpeed == 0 ? "-" : Util::secfmt(eta).c_str(),
|
avgSpeed == 0 ? "-" : Util::secfmt(eta).c_str(),
|
||||||
|
|
Loading…
Reference in New Issue