diff options
author | Nikias Bassen | 2012-07-16 15:51:11 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-16 15:51:11 +0200 |
commit | ca392863d770e522285615af4e1a9c1cd38fef33 (patch) | |
tree | 6b6358a627dcc3b3dd9d6a76e898e88bf0a91276 /src/normal.c | |
parent | b94dcbde31247d72a1acd794678876ea0b778ad1 (diff) | |
download | idevicerestore-ca392863d770e522285615af4e1a9c1cd38fef33.tar.gz idevicerestore-ca392863d770e522285615af4e1a9c1cd38fef33.tar.bz2 |
mass replace uuid->udid and raise libimobiledevice requirement to >= 1.1.4
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/normal.c b/src/normal.c index 8547b2c..21a51c7 100644 --- a/src/normal.c +++ b/src/normal.c @@ -102,12 +102,12 @@ static int normal_idevice_new(struct idevicerestore_client_t* client, idevice_t* } device_error = idevice_new(&dev, devices[j]); if (device_error != IDEVICE_E_SUCCESS) { - error("ERROR: %s: can't open device with UUID %s", __func__, devices[j]); + error("ERROR: %s: can't open device with UDID %s", __func__, devices[j]); continue; } if (lockdownd_client_new(dev, &lockdown, "idevicerestore") != LOCKDOWN_E_SUCCESS) { - error("ERROR: %s: can't connect to lockdownd on device with UUID %s", __func__, devices[j]); + error("ERROR: %s: can't connect to lockdownd on device with UDID %s", __func__, devices[j]); continue; } @@ -144,7 +144,7 @@ static int normal_idevice_new(struct idevicerestore_client_t* client, idevice_t* lockdownd_client_free(lockdown); lockdown = NULL; } - client->uuid = strdup(devices[j]); + client->udid = strdup(devices[j]); *device = dev; break; } @@ -265,7 +265,7 @@ int normal_enter_recovery(struct idevicerestore_client_t* client) { idevice_error_t device_error = IDEVICE_E_SUCCESS; lockdownd_error_t lockdown_error = LOCKDOWN_E_SUCCESS; - device_error = idevice_new(&device, client->uuid); + device_error = idevice_new(&device, client->udid); if (device_error != IDEVICE_E_SUCCESS) { error("ERROR: Unable to find device\n"); return -1; @@ -316,7 +316,7 @@ int normal_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid) { idevice_error_t device_error = IDEVICE_E_SUCCESS; lockdownd_error_t lockdown_error = IDEVICE_E_SUCCESS; - device_error = idevice_new(&device, client->uuid); + device_error = idevice_new(&device, client->udid); if (device_error != IDEVICE_E_SUCCESS) { return -1; } |