Changeset 7348


Ignore:
Timestamp:
Dec 10, 2008, 9:46:24 PM (12 years ago)
Author:
charles
Message:

(rpc) #1584: include version in session-get response

Location:
trunk
Files:
2 edited

Legend:

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

    r7331 r7348  
    323323   "speed-limit-up"           | number     max global upload speed (in K/s)
    324324   "speed-limit-up-enabled"   | 'boolean'  true means enabled
     325   "version"                  | string     long version string "$version ($revision)"
    325326
    3263274.1.1.  Mutators
    327328
    328329   Method name: "session-set"
    329    Request arguments: one or more of 4.1's arguments
     330   Request arguments: one or more of 4.1's arguments, except "version"
    330331   Response arguments: none
    331332
  • trunk/libtransmission/rpcimpl.c

    r7331 r7348  
    733733    tr_bencDictAddInt( d, "speed-limit-down-enabled",
    734734                      tr_sessionIsSpeedLimitEnabled( h, TR_DOWN ) );
     735    tr_bencDictAddStr( d, "version", LONG_VERSION_STRING );
    735736    switch( tr_sessionGetEncryption( h ) )
    736737    {
Note: See TracChangeset for help on using the changeset viewer.