Changeset 6977


Ignore:
Timestamp:
Oct 28, 2008, 4:39:35 PM (12 years ago)
Author:
charles
Message:

fix daemon bug: TRANSMISSION_HOME, when set, wasn't correctly honored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r6946 r6977  
    481481              &rpcPort, &whitelist, &authRequired, &username, &password,
    482482              &blocklistEnabled );
    483     if( !configDir )
     483    if( configDir == NULL )
     484        configDir = getenv( "TRANSMISSION_HOME" );
     485    if( configDir == NULL )
    484486        configDir = freeme = tr_strdup_printf( "%s-daemon",
    485487                                               tr_getDefaultConfigDir( ) );
Note: See TracChangeset for help on using the changeset viewer.