mirror of
https://github.com/transmission/transmission
synced 2025-02-04 21:43:03 +00:00
swap rpc start/stop and remove
This commit is contained in:
parent
9eaef4723e
commit
6e6e8680d1
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue