From be39a766812819679741beaf975e9ea223b71798 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 23 Sep 2013 16:05:18 +0200 Subject: normal: Fix pair record removal due to changed libimobiledevice API --- src/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/normal.c') 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"); } -- cgit v1.1-32-gdbae