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

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

File:
1 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 );
Note: See TracChangeset for help on using the changeset viewer.