1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 14:10:34 +00:00

(Mac) fix bug where setting the speed limit's download limit through rpc would instead use the download limit number

This commit is contained in:
Mitchell Livingston 2009-08-17 01:14:21 +00:00
parent 6d706a877b
commit 29280941b0

View file

@ -1128,7 +1128,7 @@ tr_session * fHandle;
//alt speed limit - down
const int downLimitAlt = tr_sessionGetAltSpeed(fHandle, TR_DOWN);
[fDefaults setInteger: downLimit forKey: @"SpeedLimitDownloadLimit"];
[fDefaults setInteger: downLimitAlt forKey: @"SpeedLimitDownloadLimit"];
//alt speed limit - up
const int upLimitAlt = tr_sessionGetAltSpeed(fHandle, TR_UP);