1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

if a torrent's status changes due to a manual recheck while a torrent is stopped, update the torrent's seeding/downloading state appropriately.

This commit is contained in:
Charles Kerr 2007-07-15 04:19:39 +00:00
parent b77b25bc02
commit 8bf8cb4c47

View file

@ -1026,6 +1026,10 @@ torrentThreadLoop ( void * _tor )
tr_ioCheckFiles( tor, TR_RECHECK_FORCE ); tr_ioCheckFiles( tor, TR_RECHECK_FORCE );
setRunState( tor, realStatus ); setRunState( tor, realStatus );
tr_torrentWriterLock( tor );
tor->cpStatus = tr_cpGetStatus( tor->completion );
tr_torrentWriterUnlock( tor );
tr_lockUnlock( &checkFilesLock ); tr_lockUnlock( &checkFilesLock );
} }
continue; continue;