mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
fix build error reported by berkut in the forums
This commit is contained in:
parent
669b7e3158
commit
371287136a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue