1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

when adding a torrent through rpc, respect the paused flag (although now a torrent cannot be added in the "queued" state)

This commit is contained in:
Mitchell Livingston 2008-10-03 11:21:40 +00:00
parent 24b75a7d74
commit 1716f3c55d

View file

@ -4297,8 +4297,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
Torrent * torrent = [[Torrent alloc] initWithTorrentStruct: torrentStruct location: location lib: fLib]; Torrent * torrent = [[Torrent alloc] initWithTorrentStruct: torrentStruct location: location lib: fLib];
[torrent setWaitToStart: [fDefaults boolForKey: @"AutoStartDownload"]];
[torrent update]; [torrent update];
[fTorrents addObject: torrent]; [fTorrents addObject: torrent];
[torrent release]; [torrent release];