From: Charles Kerr Date: Wed, 28 Apr 2010 20:47:00 +0000 (+0000) Subject: (trunk daemon) #3141 "Web client should be disabled by default" -- fix bug introduced... X-Git-Tag: 2.00~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39c271388a1a72fdbec0da12136970fbe3a65b4b;p=transmission (trunk daemon) #3141 "Web client should be disabled by default" -- fix bug introduced by r10485 where some users could wind up starting a daemon that did not listen to RPC commands --- diff --git a/daemon/daemon.c b/daemon/daemon.c index 453de13a6..5c0ce55d8 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -314,6 +314,7 @@ main( int argc, char ** argv ) /* load settings from defaults + config file */ tr_bencInitDict( &settings, 0 ); + tr_bencDictAddBool( &settings, TR_PREFS_KEY_RPC_ENABLED, TRUE ); configDir = getConfigDir( argc, (const char**)argv ); loaded = tr_sessionLoadSettings( &settings, configDir, MY_NAME );