Ignore:
Timestamp:
Nov 15, 2008, 5:39:54 PM (12 years ago)
Author:
charles
Message:

#1406: need tr_getDefaultDownloadDir() for consistency between apps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r7019 r7113  
    484484}
    485485
     486const char*
     487tr_getDefaultDownloadDir( void )
     488{
     489    static char * s = NULL;
     490
     491    if( s == NULL )
     492        s = tr_buildPath( getHomeDir( ), "Downloads", NULL );
     493
     494    return s;
     495}
     496
    486497/***
    487498****
Note: See TracChangeset for help on using the changeset viewer.