mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
(trunk libT) #3105 "Torrentadd over rpc not files wanted/unwanted bug" -- fixed in trunk for 2.00
This commit is contained in:
parent
657a2a4588
commit
99a5412601
1 changed files with 3 additions and 4 deletions
|
@ -690,10 +690,6 @@ torrentInit( tr_torrent * tor, const tr_ctor * ctor )
|
|||
assert( !tor->downloadedCur );
|
||||
assert( !tor->uploadedCur );
|
||||
|
||||
tr_ctorInitTorrentPriorities( ctor, tor );
|
||||
|
||||
tr_ctorInitTorrentWanted( ctor, tor );
|
||||
|
||||
tr_torrentUncheck( tor );
|
||||
|
||||
tr_torrentSetAddedDate( tor, tr_time( ) ); /* this is a default value to be
|
||||
|
@ -703,6 +699,9 @@ torrentInit( tr_torrent * tor, const tr_ctor * ctor )
|
|||
loaded = tr_torrentLoadResume( tor, ~0, ctor );
|
||||
tor->completeness = tr_cpGetStatus( &tor->completion );
|
||||
|
||||
tr_ctorInitTorrentPriorities( ctor, tor );
|
||||
tr_ctorInitTorrentWanted( ctor, tor );
|
||||
|
||||
refreshCurrentDir( tor );
|
||||
|
||||
doStart = tor->isRunning;
|
||||
|
|
Loading…
Add table
Reference in a new issue