Changeset 7396


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

(trunk gtk) fix PEX option bug, again reported by Rolcol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r7394 r7396  
    10941094    else if( !strcmp( key, TR_PREFS_KEY_PORT_FORWARDING ) )
    10951095    {
    1096         const gboolean enabled = pref_flag_get( key );
    1097         tr_sessionSetPortForwardingEnabled( tr, enabled );
     1096        tr_sessionSetPortForwardingEnabled( tr, pref_flag_get( key ) );
    10981097    }
    10991098    else if( !strcmp( key, TR_PREFS_KEY_PEX_ENABLED ) )
    11001099    {
    1101         const gboolean b = pref_flag_get( key );
    1102         tr_sessionSetPortForwardingEnabled( tr, b );
     1100        tr_sessionSetPexEnabled( tr, pref_flag_get( key ) );
    11031101    }
    11041102    else if( !strcmp( key, TR_PREFS_KEY_RPC_PORT ) )
Note: See TracChangeset for help on using the changeset viewer.