summaryrefslogtreecommitdiffstats
path: root/common/userpref.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-21 01:42:10 +0200
committerGravatar Martin Szulecki2013-09-21 01:42:10 +0200
commit74c81b034f7c61fd8582558a4bc5ad7f41c37b1a (patch)
tree71c12f0bdb8a855a706bb872442c41ebc3232941 /common/userpref.c
parent5d044b6fd0f2b5fe2a0cee1b0d22efe3f61f32a4 (diff)
downloadlibimobiledevice-74c81b034f7c61fd8582558a4bc5ad7f41c37b1a.tar.gz
libimobiledevice-74c81b034f7c61fd8582558a4bc5ad7f41c37b1a.tar.bz2
userpref: Use /var/lib/lockdown as the system-wide pair record path on Linux
Diffstat (limited to 'common/userpref.c')
-rw-r--r--common/userpref.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/userpref.c b/common/userpref.c
index 3fc4adc..5250978 100644
--- a/common/userpref.c
+++ b/common/userpref.c
@@ -69,15 +69,12 @@
#define USERPREF_CONFIG_EXTENSION ".plist"
-#ifndef __APPLE__
-#define USERPREF_CONFIG_DIR "libimobiledevice"
-#else
#ifdef WIN32
#define USERPREF_CONFIG_DIR "Apple"DIR_SEP_S"Lockdown"
#else
#define USERPREF_CONFIG_DIR "lockdown"
#endif
-#endif
+
#define USERPREF_CONFIG_FILE "SystemConfiguration"USERPREF_CONFIG_EXTENSION
static char *__config_dir = NULL;