Changeset 2274


Ignore:
Timestamp:
Jul 2, 2007, 1:29:05 AM (15 years ago)
Author:
charles
Message:

when creating a torrent, initialize its cpStatus field before passing it to the torrent's worker thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2272 r2274  
    223223    tor->runStatus = flags & TR_FLAG_PAUSED ? TR_RUN_STOPPED : TR_RUN_RUNNING;
    224224    tor->recheckFlag = tr_ioCheckFiles( tor, TR_RECHECK_FAST );
     225    tor->cpStatus = tr_cpGetStatus( tor->completion );
    225226
    226227    tr_sharedLock( h->shared );
Note: See TracChangeset for help on using the changeset viewer.