mirror of
https://github.com/transmission/transmission
synced 2025-01-03 13:35:36 +00:00
(trunk rpc) bump rpc-version to "5" to denote the new features are present since 1.5x
This commit is contained in:
parent
7dde3d93cc
commit
221b6903ee
2 changed files with 2 additions and 2 deletions
|
@ -466,7 +466,7 @@
|
||||||
| | yes | session-stats | added "current-stats"
|
| | yes | session-stats | added "current-stats"
|
||||||
| | yes | torrent-get | new arg "downloadDir"
|
| | yes | torrent-get | new arg "downloadDir"
|
||||||
------+---------+-----------+----------------+-------------------------------
|
------+---------+-----------+----------------+-------------------------------
|
||||||
6 | 1.60 | yes | torrent-get | new arg "pieces"
|
5 | 1.60 | yes | torrent-get | new arg "pieces"
|
||||||
| | yes | torrent-get | new arg "fileStats"
|
| | yes | torrent-get | new arg "fileStats"
|
||||||
| | yes | torrent-set | new arg "ratio"
|
| | yes | torrent-set | new arg "ratio"
|
||||||
| | yes | torrent-set | new arg "downloadLimited"
|
| | yes | torrent-set | new arg "downloadLimited"
|
||||||
|
|
|
@ -1190,7 +1190,7 @@ sessionGet( tr_session * s,
|
||||||
tr_bencDictAddInt ( d, TR_PREFS_KEY_PEER_PORT, tr_sessionGetPeerPort( s ) );
|
tr_bencDictAddInt ( d, TR_PREFS_KEY_PEER_PORT, tr_sessionGetPeerPort( s ) );
|
||||||
tr_bencDictAddInt ( d, TR_PREFS_KEY_PEER_PORT_RANDOM_ON_START, tr_sessionGetPeerPortRandomOnStart( s ) );
|
tr_bencDictAddInt ( d, TR_PREFS_KEY_PEER_PORT_RANDOM_ON_START, tr_sessionGetPeerPortRandomOnStart( s ) );
|
||||||
tr_bencDictAddBool( d, TR_PREFS_KEY_PORT_FORWARDING, tr_sessionIsPortForwardingEnabled( s ) );
|
tr_bencDictAddBool( d, TR_PREFS_KEY_PORT_FORWARDING, tr_sessionIsPortForwardingEnabled( s ) );
|
||||||
tr_bencDictAddInt ( d, "rpc-version", 4 );
|
tr_bencDictAddInt ( d, "rpc-version", 5 );
|
||||||
tr_bencDictAddInt ( d, "rpc-version-minimum", 1 );
|
tr_bencDictAddInt ( d, "rpc-version-minimum", 1 );
|
||||||
tr_bencDictAddReal( d, "seedRatioLimit", tr_sessionGetRatioLimit( s ) );
|
tr_bencDictAddReal( d, "seedRatioLimit", tr_sessionGetRatioLimit( s ) );
|
||||||
tr_bencDictAddBool( d, "seedRatioLimited", tr_sessionIsRatioLimited( s ) );
|
tr_bencDictAddBool( d, "seedRatioLimited", tr_sessionIsRatioLimited( s ) );
|
||||||
|
|
Loading…
Reference in a new issue