From 6e6e8680d12bee4ecc48254e2ecf175225a17fcb Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 3 Jun 2008 16:22:31 +0000 Subject: [PATCH] swap rpc start/stop and remove --- macosx/Controller.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 8687172ef..eaa7d9cd5 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -4181,12 +4181,12 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy [[NSValue valueWithPointer: torrentStruct] retain] waitUntilDone: NO]; break; - case TR_RPC_TORRENT_REMOVING: + case TR_RPC_TORRENT_STARTED: + case TR_RPC_TORRENT_STOPPED: [self performSelectorOnMainThread: @selector(rpcStartedStoppedTorrent:) withObject: torrent waitUntilDone: NO]; break; - case TR_RPC_TORRENT_STARTED: - case TR_RPC_TORRENT_STOPPED: + case TR_RPC_TORRENT_REMOVING: [self performSelectorOnMainThread: @selector(rpcRemoveTorrent:) withObject: torrent waitUntilDone: NO]; break;