diff options
| author | 2014-03-24 02:30:25 +0100 | |
|---|---|---|
| committer | 2014-03-24 02:30:25 +0100 | |
| commit | 9c9b7d81c5c536dffa35a1717c5b8369d123b187 (patch) | |
| tree | 5d133afdb0b06c71430897097f14725ac8a6be1f | |
| parent | 79e45062502eec95526b50135d2bce95523c1794 (diff) | |
| download | libimobiledevice-9c9b7d81c5c536dffa35a1717c5b8369d123b187.tar.gz libimobiledevice-9c9b7d81c5c536dffa35a1717c5b8369d123b187.tar.bz2 | |
idevicepair: Don't call userpref_delete_pair_record as it is already done by lockdownd_unpair
| -rw-r--r-- | tools/idevicepair.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/idevicepair.c b/tools/idevicepair.c index ad07a26..872d44a 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c | |||
| @@ -271,8 +271,6 @@ int main(int argc, char **argv) | |||
| 271 | case OP_UNPAIR: | 271 | case OP_UNPAIR: |
| 272 | lerr = lockdownd_unpair(client, NULL); | 272 | lerr = lockdownd_unpair(client, NULL); |
| 273 | if (lerr == LOCKDOWN_E_SUCCESS) { | 273 | if (lerr == LOCKDOWN_E_SUCCESS) { |
| 274 | /* also remove local device record */ | ||
| 275 | userpref_delete_pair_record(udid); | ||
| 276 | printf("SUCCESS: Unpaired with device %s\n", udid); | 274 | printf("SUCCESS: Unpaired with device %s\n", udid); |
| 277 | } else { | 275 | } else { |
| 278 | result = EXIT_FAILURE; | 276 | result = EXIT_FAILURE; |
