From ff1fddbadc92c683f02e62d5ef0974d457ab9d8b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 16 Dec 2008 15:27:07 +0000 Subject: [PATCH] (trunk daemon) fix daemon connectivity error introduced in r7366 --- daemon/daemon.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/daemon/daemon.c b/daemon/daemon.c index f91a38004..ec4e92641 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -43,9 +43,9 @@ getUsage( void ) "A fast and easy BitTorrent client\n" "\n" MY_NAME " is a headless Transmission session\n" - "that can be controlled via transmission-remote or Clutch.\n" - "\n" - "Usage: " MY_NAME " [options]"; + "that can be controlled via transmission-remote or Clutch.\n" + "\n" + "Usage: " MY_NAME " [options]"; } static const struct tr_option options[] = @@ -200,6 +200,7 @@ main( int argc, tr_bencInitDict( &settings, 0 ); configDir = getConfigDir( argc, (const char**)argv ); tr_sessionLoadSettings( &settings, configDir, MY_NAME ); + tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_ENABLED, 1 ); /* overwrite settings from the comamndline */ tr_optind = 1;