Changeset 10594


Ignore:
Timestamp:
May 1, 2010, 1:45:03 PM (11 years ago)
Author:
charles
Message:

(1.9x) backport r10485 and r10542 for #3141 "Web client should be disabled by default"

Location:
branches/1.9x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/daemon/daemon.c

    r10281 r10594  
    120120            tr_inf( "Reloading settings from \"%s\"", configDir );
    121121            tr_bencInitDict( &settings, 0 );
     122            tr_bencDictAddBool( &settings, TR_PREFS_KEY_RPC_ENABLED, TRUE );
    122123            tr_sessionLoadSettings( &settings, configDir, MY_NAME );
    123124            tr_sessionSet( mySession, &settings );
     
    298299    /* load settings from defaults + config file */
    299300    tr_bencInitDict( &settings, 0 );
     301    tr_bencDictAddBool( &settings, TR_PREFS_KEY_RPC_ENABLED, TRUE );
    300302    configDir = getConfigDir( argc, (const char**)argv );
    301303    loaded = tr_sessionLoadSettings( &settings, configDir, MY_NAME );
  • branches/1.9x/libtransmission/session.c

    r10593 r10594  
    274274    tr_bencDictAddBool( d, TR_PREFS_KEY_RPC_AUTH_REQUIRED,        FALSE );
    275275    tr_bencDictAddStr ( d, TR_PREFS_KEY_RPC_BIND_ADDRESS,         "0.0.0.0" );
    276     tr_bencDictAddBool( d, TR_PREFS_KEY_RPC_ENABLED,              TRUE );
     276    tr_bencDictAddBool( d, TR_PREFS_KEY_RPC_ENABLED,              FALSE );
    277277    tr_bencDictAddStr ( d, TR_PREFS_KEY_RPC_PASSWORD,             "" );
    278278    tr_bencDictAddStr ( d, TR_PREFS_KEY_RPC_USERNAME,             "" );
Note: See TracChangeset for help on using the changeset viewer.