mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
fix some exceptions based on forgetting to raname some methods
This commit is contained in:
parent
0927851321
commit
1619c4a0b7
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue