Changeset 7349


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

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

Location:
branches/1.4x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4x/doc/rpc-spec.txt

    r7178 r7349  
    310310   "speed-limit-up"           | number     max global upload speed (in K/s)
    311311   "speed-limit-up-enabled"   | 'boolean'  true means enabled
     312   "version"                  | string     long version string "$version ($revision)"
     313
    312314
    3133154.1.1.  Mutators
    314316
    315317   Method name: "session-set"
    316    Request arguments: one or more of 4.1's arguments
     318   Request arguments: one or more of 4.1's arguments, except "version"
    317319   Response arguments: none
    318320
  • branches/1.4x/libtransmission/rpcimpl.c

    r7178 r7349  
    728728    tr_bencDictAddInt( d, "speed-limit-down-enabled",
    729729                      tr_sessionIsSpeedLimitEnabled( h, TR_DOWN ) );
     730    tr_bencDictAddStr( d, "version", LONG_VERSION_STRING );
     731
    730732    switch( tr_sessionGetEncryption( h ) )
    731733    {
Note: See TracChangeset for help on using the changeset viewer.