From 09405427f7528b28fa8c7686befc4379757725d4 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 27 Jul 2009 09:01:46 +0200 Subject: Fix build due to left over API usage in iphoneclient [#63 state:resolved] Signed-off-by: Matt Colyer --- dev/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev') 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); -- cgit v1.1-32-gdbae