diff --git a/libtransmission/platform.c b/libtransmission/platform.c index 1a8d8467f..c85495e59 100644 --- a/libtransmission/platform.c +++ b/libtransmission/platform.c @@ -393,7 +393,8 @@ tr_getPrefsDirectory( void ) #ifdef SYS_DARWIN char old[MAX_PATH_LENGTH]; - tr_buildPath ( old, sizeof(old), h, ".transmission", NULL ); + tr_buildPath ( old, sizeof(old), + tr_getHomeDirectory(), ".transmission", NULL ); tr_migrateResume( old, buf ); rmdir( old ); #endif