Changeset 2272


Ignore:
Timestamp:
Jul 1, 2007, 7:10:14 PM (16 years ago)
Author:
charles
Message:

Move the initial fastresume check into the thread that creates the torrent, rather than in the torrent's worker thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2253 r2272  
    222222    tor->error   = TR_OK;
    223223    tor->runStatus = flags & TR_FLAG_PAUSED ? TR_RUN_STOPPED : TR_RUN_RUNNING;
     224    tor->recheckFlag = tr_ioCheckFiles( tor, TR_RECHECK_FAST );
    224225
    225226    tr_sharedLock( h->shared );
     
    949950    }
    950951
    951     tor->recheckFlag = tr_ioCheckFiles( tor, TR_RECHECK_FAST );
    952 
    953952    /* loop until the torrent is being deleted */
    954953    while( ! ( tor->dieFlag && (tor->runStatus == TR_RUN_STOPPED) ) )
Note: See TracChangeset for help on using the changeset viewer.