mirror of
https://github.com/transmission/transmission
synced 2024-12-29 02:56:11 +00:00
parent
e2b1c71982
commit
ef154e48ae
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ static uint64_t loadFromFile(tr_torrent* tor, uint64_t fieldsToLoad, bool* didRe
|
||||||
// Only load file priorities if we are actually downloading.
|
// Only load file priorities if we are actually downloading.
|
||||||
// If we're a seed or partial seed, loading it is a waste of time.
|
// If we're a seed or partial seed, loading it is a waste of time.
|
||||||
// NB: this is why loadProgress() comes before loadFilePriorities()
|
// NB: this is why loadProgress() comes before loadFilePriorities()
|
||||||
if (tor->isDone() && (fieldsToLoad & TR_FR_FILE_PRIORITIES) != 0)
|
if (!tor->isDone() && (fieldsToLoad & TR_FR_FILE_PRIORITIES) != 0)
|
||||||
{
|
{
|
||||||
fieldsLoaded |= loadFilePriorities(&top, tor);
|
fieldsLoaded |= loadFilePriorities(&top, tor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue