minor resume tweak

This commit is contained in:
Charles Kerr 2008-04-14 20:41:45 +00:00
parent 35502f0559
commit c0c0842754
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ tr_torrentLoadResume( tr_torrent * tor,
fieldsLoaded |= TR_FR_CORRUPT;
}
if( ( fieldsToLoad & TR_FR_DESTINATION )
if( ( fieldsToLoad & ( TR_FR_PROGRESS | TR_FR_DESTINATION ) )
&& tr_bencDictFindStr( &top, KEY_DESTINATION, &str ) ) {
tr_free( tor->destination );
tor->destination = tr_strdup( str );