Fixed compilation error.

This commit is contained in:
Tatsuhiro Tsujikawa 2007-06-05 14:32:09 +00:00
parent 2d71034e03
commit acccec67be

View File

@ -50,7 +50,7 @@ void TorrentConsoleDownloadEngine::sendStatistics() {
} else {
printf("%s/%sB %d%% %s D:%.2f",
Util::abbrevSize(downloadLength).c_str(),
Util::abbrevSizellitos(totalLength).c_str(),
Util::abbrevSize(totalLength).c_str(),
(totalLength == 0 ?
0 : (int)((downloadLength*100)/totalLength)),
avgSpeed == 0 ? "-" : Util::secfmt(eta).c_str(),