(Mac) fix bug where setting the speed limit's upload limit through rpc would instead replace the download limit
This commit is contained in:
parent
5a81ca939d
commit
6d706a877b
|
@ -1132,7 +1132,7 @@ tr_session * fHandle;
|
|||
|
||||
//alt speed limit - up
|
||||
const int upLimitAlt = tr_sessionGetAltSpeed(fHandle, TR_UP);
|
||||
[fDefaults setInteger: upLimitAlt forKey: @"SpeedLimitDownloadLimit"];
|
||||
[fDefaults setInteger: upLimitAlt forKey: @"SpeedLimitUploadLimit"];
|
||||
|
||||
//alt speed limit schedule
|
||||
const BOOL useAltSpeedSched = tr_sessionUsesAltSpeedTime(fHandle);
|
||||
|
|
Loading…
Reference in New Issue