summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-23 16:05:18 +0200
committerGravatar Martin Szulecki2013-09-23 16:05:18 +0200
commitbe39a766812819679741beaf975e9ea223b71798 (patch)
tree1bad7b337f843cee1ffa1bc170d8c0c1fdc41104 /src
parentcfb62fa1dfa97de1faa4bfe49e6a23c67282776e (diff)
downloadidevicerestore-be39a766812819679741beaf975e9ea223b71798.tar.gz
idevicerestore-be39a766812819679741beaf975e9ea223b71798.tar.bz2
normal: Fix pair record removal due to changed libimobiledevice API
Diffstat (limited to 'src')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 725fccf..5a47658 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -232,7 +232,7 @@ int normal_check_device(struct idevicerestore_client_t* client) {
lockdownd_unpair(lockdown, NULL);
idevice_get_udid(device, &udid);
if (udid) {
- userpref_remove_device_public_key(udid);
+ userpref_remove_device_record(udid);
}
lockdown_error = lockdownd_client_new_with_handshake(device, &lockdown, "idevicerestore");
}