Changeset 6911


Ignore:
Timestamp:
Oct 15, 2008, 6:18:50 PM (13 years ago)
Author:
charles
Message:

(daemon) #1352: -g/--config-dir flag is ignored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r6905 r6911  
    481481              &rpcPort, &whitelist, &authRequired, &username, &password,
    482482              &blocklistEnabled );
    483     if( configDir )
     483    if( !configDir )
    484484        configDir = freeme = tr_strdup_printf( "%s-daemon",
    485                                               tr_getDefaultConfigDir( ) );
     485                                               tr_getDefaultConfigDir( ) );
    486486    myConfigFilename = tr_buildPath( configDir, CONFIG_FILE, NULL );
    487487
Note: See TracChangeset for help on using the changeset viewer.