1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-23 14:40:43 +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:
Charles Kerr 2008-12-09 15:09:26 +00:00
parent df4c46b73a
commit 519b4d3f5e

View file

@ -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