summaryrefslogtreecommitdiffstats
path: root/dev/afccheck.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-25 02:54:40 +0200
committerGravatar Martin Szulecki2009-07-25 02:54:40 +0200
commit5cb9ecc85240102402082c442d561d7350732027 (patch)
treecea461435303568e39571b0ccb19d4e25d4d266b /dev/afccheck.c
parentf5e9d76ebd74999512ab73f44fabba86879b1c1f (diff)
downloadlibimobiledevice-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.c6
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;
}