(trunk libT) #3105 "Torrentadd over rpc not files wanted/unwanted bug" -- fixed in trunk for 2.00

This commit is contained in:
Charles Kerr 2010-04-19 23:10:30 +00:00
parent 657a2a4588
commit 99a5412601
1 changed files with 3 additions and 4 deletions

View File

@ -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;