Changeset 8559


Ignore:
Timestamp:
May 28, 2009, 10:05:21 PM (12 years ago)
Author:
livings124
Message:

when adding a torrent, set the default torrent speed limit to the global speed limit (the limit will still be disabled)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r8550 r8559  
    620620    {
    621621        tr_torrentUseSpeedLimit( tor, TR_UP, FALSE );
     622        tr_torrentSetSpeedLimit( tor, TR_UP, tr_sessionGetSpeedLimit( tor->session, TR_UP ) );
    622623        tr_torrentUseSpeedLimit( tor, TR_DOWN, FALSE );
     624        tr_torrentSetSpeedLimit( tor, TR_DOWN, tr_sessionGetSpeedLimit( tor->session, TR_DOWN ) );
    623625        tr_torrentUseSessionLimits( tor, TRUE );
    624626    }
Note: See TracChangeset for help on using the changeset viewer.