mirror of
https://github.com/transmission/transmission
synced 2025-02-09 07:54:48 +00:00
recheck the completeness stats after `recheck torrent'
This commit is contained in:
parent
8abcc566dd
commit
568e97d220
1 changed files with 1 additions and 3 deletions
|
@ -1004,8 +1004,6 @@ checkAndStartCB( tr_torrent * tor )
|
|||
{
|
||||
tr_globalLock( tor->handle );
|
||||
|
||||
tr_torrentRecheckCompleteness( tor );
|
||||
|
||||
tor->isRunning = 1;
|
||||
*tor->errorString = '\0';
|
||||
tr_torrentResetTransferStats( tor );
|
||||
|
@ -1040,7 +1038,7 @@ tr_torrentRecheck( tr_torrent * tor )
|
|||
tor->uncheckedPieces = tr_bitfieldNew( tor->info.pieceCount );
|
||||
tr_bitfieldAddRange( tor->uncheckedPieces, 0, tor->info.pieceCount );
|
||||
|
||||
tr_ioRecheckAdd( tor, NULL );
|
||||
tr_ioRecheckAdd( tor, tr_torrentRecheckCompleteness );
|
||||
|
||||
tr_globalUnlock( tor->handle );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue