|
@@ -71,7 +71,8 @@ ConsoleStatCalc::calculateStat(const RequestGroupManHandle& requestGroupMan,
|
|
|
if(firstRequestGroup->downloadFinished() &&
|
|
|
!BtContextHandle(firstRequestGroup->getDownloadContext()).isNull()) {
|
|
|
cout << "SEEDING" << "(" << "ratio:"
|
|
|
- << fixed << setprecision(2) << stat.getAllTimeUploadLength()*1.0/firstRequestGroup->getCompletedLength()
|
|
|
+ << fixed << setprecision(1)
|
|
|
+ << ((stat.getAllTimeUploadLength()*10)/firstRequestGroup->getCompletedLength())/10.0
|
|
|
<< ")";
|
|
|
} else
|
|
|
#endif // ENABLE_BITTORRENT
|