diff options
author | Martin Szulecki | 2013-09-23 16:05:18 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-23 16:05:18 +0200 |
commit | be39a766812819679741beaf975e9ea223b71798 (patch) | |
tree | 1bad7b337f843cee1ffa1bc170d8c0c1fdc41104 | |
parent | cfb62fa1dfa97de1faa4bfe49e6a23c67282776e (diff) | |
download | idevicerestore-be39a766812819679741beaf975e9ea223b71798.tar.gz idevicerestore-be39a766812819679741beaf975e9ea223b71798.tar.bz2 |
normal: Fix pair record removal due to changed libimobiledevice API
-rw-r--r-- | src/normal.c | 2 |
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"); } |