Changeset 8230


Ignore:
Timestamp:
Apr 13, 2009, 3:55:06 PM (13 years ago)
Author:
charles
Message:

(trunk rpc) bump rpc-version to "5" to denote the new features are present since 1.5x

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/rpc-spec.txt

    r8164 r8230  
    467467         |         | yes       | torrent-get    | new arg "downloadDir"
    468468   ------+---------+-----------+----------------+-------------------------------
    469    6     | 1.60    | yes       | torrent-get    | new arg "pieces"
     469   5     | 1.60    | yes       | torrent-get    | new arg "pieces"
    470470         |         | yes       | torrent-get    | new arg "fileStats"
    471471         |         | yes       | torrent-set    | new arg "ratio"
  • trunk/libtransmission/rpcimpl.c

    r8177 r8230  
    11911191    tr_bencDictAddInt ( d, TR_PREFS_KEY_PEER_PORT_RANDOM_ON_START, tr_sessionGetPeerPortRandomOnStart( s ) );
    11921192    tr_bencDictAddBool( d, TR_PREFS_KEY_PORT_FORWARDING, tr_sessionIsPortForwardingEnabled( s ) );
    1193     tr_bencDictAddInt ( d, "rpc-version", 4 );
     1193    tr_bencDictAddInt ( d, "rpc-version", 5 );
    11941194    tr_bencDictAddInt ( d, "rpc-version-minimum", 1 );
    11951195    tr_bencDictAddReal( d, "seedRatioLimit", tr_sessionGetRatioLimit( s ) );
Note: See TracChangeset for help on using the changeset viewer.