diff options
author | Martin Szulecki | 2009-07-25 02:54:40 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-07-25 02:54:40 +0200 |
commit | 5cb9ecc85240102402082c442d561d7350732027 (patch) | |
tree | cea461435303568e39571b0ccb19d4e25d4d266b /dev/afccheck.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/afccheck.c')
-rw-r--r-- | dev/afccheck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/afccheck.c b/dev/afccheck.c index 370742b..067dd5b 100644 --- a/dev/afccheck.c +++ b/dev/afccheck.c @@ -105,13 +105,13 @@ int main(int argc, char *argv[]) } if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { - iphone_free_device(phone); + iphone_device_free(phone); return 1; } if (LOCKDOWN_E_SUCCESS == lockdownd_start_service(client, "com.apple.afc", &port) && !port) { lockdownd_client_free(client); - iphone_free_device(phone); + iphone_device_free(phone); fprintf(stderr, "Something went wrong when starting AFC."); return 1; } @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) } lockdownd_client_free(client); - iphone_free_device(phone); + iphone_device_free(phone); return 0; } |