summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-27 09:01:46 +0200
committerGravatar Martin Szulecki2009-07-27 09:01:46 +0200
commit5ae5591052583e93aaf40dc367e30413fda6d859 (patch)
treecb6fa4cc5df26aa35b8755ac5c4af1764eba861d
parent05a4c51c9c908794ab9aeeaabfd21d3158843d71 (diff)
downloadlibimobiledevice-5ae5591052583e93aaf40dc367e30413fda6d859.tar.gz
libimobiledevice-5ae5591052583e93aaf40dc367e30413fda6d859.tar.bz2
Fix build due to left over API usage in iphoneclient
-rw-r--r--dev/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/main.c b/dev/main.c
index eb74c89..bb5dfdd 100644
--- a/dev/main.c
+++ b/dev/main.c
@@ -167,7 +167,7 @@ int main(int argc, char *argv[])
}
if (AFC_E_SUCCESS ==
- afc_open_file(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) {
+ afc_file_open(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) {
printf("A file size: %llu\n", (long long)fsize);
char *file_data = (char *) malloc(sizeof(char) * fsize);
afc_file_read(afc, my_file, file_data, fsize, &bytes);