Changeset 6828


Ignore:
Timestamp:
Oct 1, 2008, 11:30:27 PM (13 years ago)
Author:
charles
Message:

(rpc) #1261: session-get's speed-limit-down & speed-limit-up fields have the wrong units

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpcimpl.c

    r6795 r6828  
    723723                      tr_sessionIsPortForwardingEnabled( h ) );
    724724    tr_bencDictAddInt( d, "speed-limit-up",
    725                        tr_sessionGetSpeedLimit( h, TR_UP ) * 1024 );
     725                       tr_sessionGetSpeedLimit( h, TR_UP ) );
    726726    tr_bencDictAddInt( d, "speed-limit-up-enabled",
    727727                      tr_sessionIsSpeedLimitEnabled( h, TR_UP ) );
    728728    tr_bencDictAddInt( d, "speed-limit-down",
    729                        tr_sessionGetSpeedLimit( h, TR_DOWN ) * 1024 );
     729                       tr_sessionGetSpeedLimit( h, TR_DOWN ) );
    730730    tr_bencDictAddInt( d, "speed-limit-down-enabled",
    731731                      tr_sessionIsSpeedLimitEnabled( h, TR_DOWN ) );
Note: See TracChangeset for help on using the changeset viewer.