mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk daemon) fix daemon connectivity error introduced in r7366
This commit is contained in:
parent
748a9f1c92
commit
ff1fddbadc
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue