Ignore:
Timestamp:
Nov 25, 2009, 5:10:27 AM (13 years ago)
Author:
charles
Message:

(trunk libT) fix the resume files' "percent done" bug that was introduced yesterday with the magnet link commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r9559 r9567  
    671671                                                    overwritten by the resume file */
    672672
     673    torrentInitFromInfo( tor );
    673674    loaded = tr_torrentLoadResume( tor, ~0, ctor );
     675    tor->completeness = tr_cpGetStatus( &tor->completion );
    674676
    675677    refreshCurrentDir( tor );
     
    705707        ++session->torrentCount;
    706708    }
    707 
    708     torrentInitFromInfo( tor );
    709709
    710710    /* maybe save our own copy of the metainfo */
Note: See TracChangeset for help on using the changeset viewer.