mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
(trunk libT) if an individual torrent's speed limit is set, don't pay attention to the global speed limit
This commit is contained in:
@@ -153,7 +153,7 @@ tr_torrentSetSpeedMode( tr_torrent * tor,
|
||||
tor->speedLimitMode[dir] = mode;
|
||||
|
||||
tr_bandwidthSetLimited( tor->bandwidth, dir, mode==TR_SPEEDLIMIT_SINGLE );
|
||||
tr_bandwidthHonorParentLimits( tor->bandwidth, dir, mode!=TR_SPEEDLIMIT_UNLIMITED );
|
||||
tr_bandwidthHonorParentLimits( tor->bandwidth, dir, mode==TR_SPEEDLIMIT_GLOBAL );
|
||||
}
|
||||
|
||||
tr_speedlimit
|
||||
|
||||
Reference in New Issue
Block a user