diff --git a/ChangeLog b/ChangeLog index a0653dba..dd1ac996 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-23 Tatsuhiro Tsujikawa + + In metadataGetMode, don't show SEEDING. + * src/ConsoleStatCalc.cc + 2009-11-23 Tatsuhiro Tsujikawa Fixed ut_metadata data handling. Implemented diff --git a/src/ConsoleStatCalc.cc b/src/ConsoleStatCalc.cc index ec12e828..25449ce5 100644 --- a/src/ConsoleStatCalc.cc +++ b/src/ConsoleStatCalc.cc @@ -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) {