Ignore:
Timestamp:
Jul 14, 2008, 4:00:20 PM (13 years ago)
Author:
charles
Message:

#1084: Make web' and clutch' synonymous in the backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r6323 r6328  
    528528    if( !s )
    529529    {
    530         char path[MAX_PATH_LENGTH];
     530        char path[MAX_PATH_LENGTH] = { '\0' };
    531531
    532532        if(( s = getenv( "CLUTCH_HOME" )))
     533        {
     534            snprintf( path, sizeof( path ), s );
     535        }
     536        else if(( s = getenv( "TRANSMISSION_WEB_HOME" )))
    533537        {
    534538            snprintf( path, sizeof( path ), s );
     
    576580
    577581            for( l=candidates; l; l=l->next ) {
    578                 tr_buildPath( path, sizeof( path ), l->data, "transmission", "clutch", NULL );
     582                tr_buildPath( path, sizeof( path ), l->data, "transmission", "web", NULL );
    579583                if( isClutchDir( path ) )
    580584                    break;
Note: See TracChangeset for help on using the changeset viewer.