mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk libt) experimental fix for the updated torrent issue reported by Lacrocivious
This commit is contained in:
parent
168fb2a45d
commit
28ec370476
1 changed files with 7 additions and 2 deletions
|
@ -1592,6 +1592,13 @@ torrentStart( tr_torrent * tor )
|
|||
if( setLocalErrorIfFilesDisappeared( tor ) )
|
||||
return;
|
||||
|
||||
/* verifying right now... wait until that's done so
|
||||
* we'll know what completeness to use/announce */
|
||||
if( tor->verifyState != TR_VERIFY_NONE ) {
|
||||
tor->startAfterVerify = TRUE;
|
||||
return;
|
||||
}
|
||||
|
||||
/* otherwise, start it now... */
|
||||
tr_sessionLock( tor->session );
|
||||
|
||||
|
@ -1601,8 +1608,6 @@ torrentStart( tr_torrent * tor )
|
|||
tr_torrentSetRatioMode( tor, TR_RATIOLIMIT_UNLIMITED );
|
||||
}
|
||||
|
||||
tr_verifyRemove( tor );
|
||||
|
||||
/* corresponds to the peer_id sent as a tracker request parameter.
|
||||
* one tracker admin says: "When the same torrent is opened and
|
||||
* closed and opened again without quitting Transmission ...
|
||||
|
|
Loading…
Reference in a new issue