diff options
| author | 2009-07-25 02:54:40 +0200 | |
|---|---|---|
| committer | 2009-07-25 02:54:40 +0200 | |
| commit | 5cb9ecc85240102402082c442d561d7350732027 (patch) | |
| tree | cea461435303568e39571b0ccb19d4e25d4d266b /dev/iphone_id.c | |
| parent | f5e9d76ebd74999512ab73f44fabba86879b1c1f (diff) | |
| download | libimobiledevice-5cb9ecc85240102402082c442d561d7350732027.tar.gz libimobiledevice-5cb9ecc85240102402082c442d561d7350732027.tar.bz2 | |
Follow glib style and rename iphone_free_device to iphone_device_free
Diffstat (limited to 'dev/iphone_id.c')
| -rw-r--r-- | dev/iphone_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/iphone_id.c b/dev/iphone_id.c index 1b8f8a1..f68fc8b 100644 --- a/dev/iphone_id.c +++ b/dev/iphone_id.c | |||
| @@ -69,7 +69,7 @@ int main(int argc, char **argv) | |||
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { | 71 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { |
| 72 | iphone_free_device(phone); | 72 | iphone_device_free(phone); |
| 73 | fprintf(stderr, "ERROR: Connecting to device failed!\n"); | 73 | fprintf(stderr, "ERROR: Connecting to device failed!\n"); |
| 74 | return -2; | 74 | return -2; |
| 75 | } | 75 | } |
| @@ -80,7 +80,7 @@ int main(int argc, char **argv) | |||
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | lockdownd_client_free(client); | 82 | lockdownd_client_free(client); |
| 83 | iphone_free_device(phone); | 83 | iphone_device_free(phone); |
| 84 | 84 | ||
| 85 | if (ret == 0) { | 85 | if (ret == 0) { |
| 86 | printf("%s\n", devname); | 86 | printf("%s\n", devname); |
