diff options
| author | 2009-07-27 09:01:46 +0200 | |
|---|---|---|
| committer | 2009-07-27 19:25:47 -0700 | |
| commit | 09405427f7528b28fa8c7686befc4379757725d4 (patch) | |
| tree | 122a02a86a39802b287447b173c1634954b63bad | |
| parent | 34b2a608fc08cdc02066220757f75bbf18942b82 (diff) | |
| download | libimobiledevice-09405427f7528b28fa8c7686befc4379757725d4.tar.gz libimobiledevice-09405427f7528b28fa8c7686befc4379757725d4.tar.bz2 | |
Fix build due to left over API usage in iphoneclient
[#63 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
| -rw-r--r-- | dev/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -167,7 +167,7 @@ int main(int argc, char *argv[]) | |||
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | if (AFC_E_SUCCESS == | 169 | if (AFC_E_SUCCESS == |
| 170 | afc_open_file(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { | 170 | afc_file_open(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { |
| 171 | printf("A file size: %llu\n", (long long)fsize); | 171 | printf("A file size: %llu\n", (long long)fsize); |
| 172 | char *file_data = (char *) malloc(sizeof(char) * fsize); | 172 | char *file_data = (char *) malloc(sizeof(char) * fsize); |
| 173 | afc_file_read(afc, my_file, file_data, fsize, &bytes); | 173 | afc_file_read(afc, my_file, file_data, fsize, &bytes); |
