(libT) #1379: support "partial seeds" BEP 22

This commit is contained in:
Charles Kerr
2008-12-02 19:46:51 +00:00
parent 341b40f192
commit d4ee0d714a
9 changed files with 105 additions and 35 deletions

View File

@@ -291,6 +291,8 @@ addField( const tr_torrent * tor,
tr_bencDictAddInt( d, key, st->doneDate );
else if( !strcmp( key, "downloadedEver" ) )
tr_bencDictAddInt( d, key, st->downloadedEver );
else if( !strcmp( key, "downloaders" ) )
tr_bencDictAddInt( d, key, st->downloaders );
else if( !strcmp( key, "downloadLimitMode" ) )
tr_bencDictAddInt( d, key, tr_torrentGetSpeedMode( tor, TR_DOWN ) );
else if( !strcmp( key, "downloadLimit" ) )