mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
mac build compiles again
This commit is contained in:
parent
b71a2985b3
commit
a3bb61d13b
2 changed files with 3 additions and 2 deletions
|
@ -195,7 +195,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
{
|
||||
fDefaults = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
fLib = tr_initFull("macosx",
|
||||
fLib = tr_initFull(NULL, /* use default config directory (Application Support) */
|
||||
"macosx",
|
||||
[fDefaults boolForKey: @"PEXGlobal"],
|
||||
[fDefaults boolForKey: @"NatTraversal"],
|
||||
[fDefaults integerForKey: @"BindPort"],
|
||||
|
|
|
@ -514,7 +514,7 @@ void getaddr( struct sockaddr_un * sun )
|
|||
{
|
||||
bzero( sun, sizeof *sun );
|
||||
sun->sun_family = AF_LOCAL;
|
||||
strlcpy( sun->sun_path, tr_getPrefsDirectory(), sizeof sun->sun_path );
|
||||
strlcpy( sun->sun_path, tr_getDefaultConfigDir(), sizeof sun->sun_path );
|
||||
strlcat( sun->sun_path, "/socket", sizeof sun->sun_path );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue