mirror of
https://github.com/transmission/transmission
synced 2025-02-02 12:32:54 +00:00
Tweak the first torrent's recheck state as requested by BentMyWookie
This commit is contained in:
parent
8d4ff5818c
commit
42d007553d
1 changed files with 1 additions and 1 deletions
|
@ -384,8 +384,8 @@ tr_ioRecheckAdd( tr_torrent * tor,
|
|||
node->recheck_done_cb = recheck_done_cb;
|
||||
|
||||
tr_lockLock( getRecheckLock( ) );
|
||||
tor->recheckState = recheckList ? TR_RECHECK_WAIT : TR_RECHECK_NOW;
|
||||
tr_list_append( &recheckList, node );
|
||||
tor->recheckState = TR_RECHECK_WAIT;
|
||||
if( recheckThread == NULL )
|
||||
recheckThread = tr_threadNew( recheckThreadFunc, NULL, "recheckThreadFunc" );
|
||||
tr_lockUnlock( getRecheckLock( ) );
|
||||
|
|
Loading…
Reference in a new issue