mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk) #1864: Tracker not found (404) when a check of local file is done.
This commit is contained in:
parent
a00ed355d3
commit
6755041894
1 changed files with 3 additions and 7 deletions
|
@ -1265,17 +1265,13 @@ torrentStart( tr_torrent * tor, int reloadProgress )
|
|||
|
||||
if( !tor->isRunning )
|
||||
{
|
||||
const tr_bool isVerifying = tr_verifyInProgress( tor );
|
||||
tr_verifyRemove( tor );
|
||||
|
||||
if( !isVerifying && reloadProgress )
|
||||
if( reloadProgress )
|
||||
tr_torrentLoadResume( tor, TR_FR_PROGRESS, NULL );
|
||||
|
||||
tor->isRunning = 1;
|
||||
|
||||
if( !isVerifying )
|
||||
tr_verifyAdd( tor, checkAndStartCB );
|
||||
|
||||
tor->dhtAnnounceAt = time( NULL ) + tr_cryptoWeakRandInt( 20 );
|
||||
tr_verifyAdd( tor, checkAndStartCB );
|
||||
}
|
||||
|
||||
tr_globalUnlock( tor->session );
|
||||
|
|
Loading…
Reference in a new issue