mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
(trunk) #2096 "magnet links" -- fix RPC typo introduced in r9655 and reported by KyleK
This commit is contained in:
parent
7537f02589
commit
79154bac8a
2 changed files with 3 additions and 3 deletions
|
@ -157,7 +157,7 @@
|
|||
leftUntilDone | number | tr_stat
|
||||
manualAnnounceTime | number | tr_stat
|
||||
maxConnectedPeers | number | tr_torrent
|
||||
metadataPecentComplete | double | tr_stat
|
||||
metadataPercentComplete | double | tr_stat
|
||||
name | string | tr_info
|
||||
peer-limit | number | tr_torrent
|
||||
peers | array (see below) | n/a
|
||||
|
@ -562,7 +562,7 @@
|
|||
| | NO | torrent-get | removed arg "seeders"
|
||||
| | NO | torrent-get | removed arg "timesCompleted"
|
||||
| | NO | torrent-get | removed arg "swarmSpeed"
|
||||
| | yes | torrent-get | new arg "metadataPecentComplete"
|
||||
| | yes | torrent-get | new arg "metadataPercentComplete"
|
||||
| | yes | torrent-get | new arg "trackerStats"
|
||||
| | yes | session-set | new arg "incomplete-dir"
|
||||
| | yes | session-set | new arg "incomplete-dir-enabled"
|
||||
|
|
|
@ -500,7 +500,7 @@ addField( const tr_torrent * tor, tr_benc * d, const char * key )
|
|||
tr_bencDictAddInt( d, key, st->manualAnnounceTime );
|
||||
else if( tr_streq( key, keylen, "maxConnectedPeers" ) )
|
||||
tr_bencDictAddInt( d, key, tr_torrentGetPeerLimit( tor ) );
|
||||
else if( tr_streq( key, keylen, "metadataPecentComplete" ) )
|
||||
else if( tr_streq( key, keylen, "metadataPercentComplete" ) )
|
||||
tr_bencDictAddReal( d, key, st->metadataPercentComplete );
|
||||
else if( tr_streq( key, keylen, "name" ) )
|
||||
tr_bencDictAddStr( d, key, inf->name );
|
||||
|
|
Loading…
Reference in a new issue