mirror of https://github.com/aria2/aria2
2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
In metadataGetMode, don't show SEEDING. * src/ConsoleStatCalc.ccpull/1/head
parent
c1730aeea9
commit
95370fc11f
|
@ -1,3 +1,8 @@
|
|||
2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
In metadataGetMode, don't show SEEDING.
|
||||
* src/ConsoleStatCalc.cc
|
||||
|
||||
2009-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed ut_metadata data handling. Implemented
|
||||
|
|
|
@ -85,6 +85,8 @@ static void printProgress
|
|||
|
||||
#ifdef ENABLE_BITTORRENT
|
||||
if(rg->getDownloadContext()->hasAttribute(bittorrent::BITTORRENT) &&
|
||||
rg->getDownloadContext()->getAttribute(bittorrent::BITTORRENT)
|
||||
.containsKey(bittorrent::METADATA) &&
|
||||
rg->downloadFinished()) {
|
||||
o << "SEEDING" << "(" << "ratio:";
|
||||
if(rg->getCompletedLength() > 0) {
|
||||
|
|
Loading…
Reference in New Issue