Ignore:
Timestamp:
Oct 23, 2009, 3:41:36 AM (13 years ago)
Author:
charles
Message:

(trunk) trunk's just been too stable lately. #2119: reload settings.json on SIGHUP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/port-forwarding.c

    r8767 r9387  
    131131
    132132tr_shared *
    133 tr_sharedInit( tr_session  * session, tr_bool isEnabled )
     133tr_sharedInit( tr_session  * session )
    134134{
    135135    tr_shared * s = tr_new0( tr_shared, 1 );
    136136
    137137    s->session      = session;
    138     s->isEnabled    = isEnabled;
     138    s->isEnabled    = FALSE;
    139139    s->upnpStatus   = TR_PORT_UNMAPPED;
    140140    s->natpmpStatus = TR_PORT_UNMAPPED;
    141141
     142#if 0
    142143    if( isEnabled )
    143144    {
     
    146147        tr_timerAdd( s->timer, 0, 333000 );
    147148    }
     149#endif
    148150
    149151    return s;
Note: See TracChangeset for help on using the changeset viewer.