Changeset 10519


Ignore:
Timestamp:
Apr 23, 2010, 2:13:18 PM (8 years ago)
Author:
charles
Message:

(trunk libT) fix error in tr_ctorNew() when initializing the default/fallback ctor values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent-ctor.c

    r10427 r10519  
    453453    ctor->session = session;
    454454    ctor->bandwidthPriority = TR_PRI_NORMAL;
    455     tr_ctorSetPaused( ctor, TR_FALLBACK, tr_sessionGetPaused( session ) );
    456     tr_ctorSetDeleteSource( ctor, tr_sessionGetDeleteSource( session ) );
    457     if( session != NULL ) {
     455    if( session != NULL )
     456    {
     457        tr_ctorSetDeleteSource( ctor, tr_sessionGetDeleteSource( session ) );
     458        tr_ctorSetPaused( ctor, TR_FALLBACK, tr_sessionGetPaused( session ) );
    458459        tr_ctorSetPeerLimit( ctor, TR_FALLBACK, session->peerLimitPerTorrent );
    459460        tr_ctorSetDownloadDir( ctor, TR_FALLBACK, session->downloadDir );
Note: See TracChangeset for help on using the changeset viewer.