Ignore:
Timestamp:
Apr 18, 2007, 7:32:53 PM (14 years ago)
Author:
joshe
Message:

Fix paths on OSX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r1750 r1753  
    149149              tr_getPrefsDirectory() );
    150150#elif defined( SYS_DARWIN )
    151     snprintf( cacheDirectory, MAX_PATH_LENGTH, "%s/Caches/Transmission",
     151    snprintf( cacheDirectory, MAX_PATH_LENGTH, "%s/Library/Caches/Transmission",
    152152              tr_getHomeDirectory() );
    153153#else
     
    183183#elif defined( SYS_DARWIN )
    184184    snprintf( torrentsDirectory, MAX_PATH_LENGTH, "%s/Torrents",
    185               tr_getHomeDirectory() );
     185              tr_getPrefsDirectory() );
    186186#else
    187187    snprintf( torrentsDirectory, MAX_PATH_LENGTH, "%s/torrents",
Note: See TracChangeset for help on using the changeset viewer.