1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

fix some exceptions based on forgetting to raname some methods

This commit is contained in:
Mitchell Livingston 2007-07-21 12:47:38 +00:00
parent 0927851321
commit 1619c4a0b7

View file

@ -636,12 +636,12 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
tr_torrentSetSpeedMode(fHandle, upload ? TR_UP : TR_DOWN, mode);
}
- (int) uploadSpeedLimit: (BOOL) upload
- (int) speedLimit: (BOOL) upload
{
return tr_torrentGetSpeedLimit(fHandle, upload ? TR_UP : TR_DOWN);
}
- (void) setUploadSpeedLimit: (int) limit upload: (BOOL) upload
- (void) setSpeedLimit: (int) limit upload: (BOOL) upload
{
tr_torrentSetSpeedLimit(fHandle, upload ? TR_UP : TR_DOWN, limit);
}