Ignore:
Timestamp:
Dec 14, 2008, 10:48:11 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix type error reported by JhuJhiti?

File:
1 edited

Legend:

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

    r7385 r7392  
    206206tr_sharedInit( tr_session  * session,
    207207               tr_bool       isEnabled,
    208                tr_bool       publicPort )
     208               tr_port       publicPort )
    209209{
    210210    tr_shared * s = tr_new0( tr_shared, 1 );
     
    217217    s->upnp         = tr_upnpInit( );
    218218    s->pulseTimer   = tr_timerNew( session, sharedPulse, s, 1000 );
    219     s->isEnabled    = isEnabled ? 1 : 0;
     219    s->isEnabled    = isEnabled;
    220220    s->upnpStatus   = TR_PORT_UNMAPPED;
    221221    s->natpmpStatus = TR_PORT_UNMAPPED;
Note: See TracChangeset for help on using the changeset viewer.