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

This commit is contained in:
Mitchell Livingston 2009-08-17 00:55:59 +00:00
parent 5a81ca939d
commit 6d706a877b
1 changed files with 1 additions and 1 deletions

View File

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