From 1619c4a0b70eb8d03c6c62928658f84adbf171c9 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 21 Jul 2007 12:47:38 +0000 Subject: [PATCH] fix some exceptions based on forgetting to raname some methods --- macosx/Torrent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 4c880212f..fe1951c6e 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -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); }