1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk daemon) fix daemon connectivity error introduced in r7366

This commit is contained in:
Charles Kerr 2008-12-16 15:27:07 +00:00
parent 748a9f1c92
commit ff1fddbadc

View file

@ -43,9 +43,9 @@ getUsage( void )
"A fast and easy BitTorrent client\n" "A fast and easy BitTorrent client\n"
"\n" "\n"
MY_NAME " is a headless Transmission session\n" MY_NAME " is a headless Transmission session\n"
"that can be controlled via transmission-remote or Clutch.\n" "that can be controlled via transmission-remote or Clutch.\n"
"\n" "\n"
"Usage: " MY_NAME " [options]"; "Usage: " MY_NAME " [options]";
} }
static const struct tr_option options[] = static const struct tr_option options[] =
@ -200,6 +200,7 @@ main( int argc,
tr_bencInitDict( &settings, 0 ); tr_bencInitDict( &settings, 0 );
configDir = getConfigDir( argc, (const char**)argv ); configDir = getConfigDir( argc, (const char**)argv );
tr_sessionLoadSettings( &settings, configDir, MY_NAME ); tr_sessionLoadSettings( &settings, configDir, MY_NAME );
tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_ENABLED, 1 );
/* overwrite settings from the comamndline */ /* overwrite settings from the comamndline */
tr_optind = 1; tr_optind = 1;