Rename zip_f_get_contents() to zip_get_contents()
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index cfb703e..de6cb5c 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -131,7 +131,7 @@
}
}
-static int zip_f_get_contents(struct zip *zf, const char *filename, int locate_flags, char **buffer, uint32_t *len)
+static int zip_get_contents(struct zip *zf, const char *filename, int locate_flags, char **buffer, uint32_t *len)
{
struct zip_stat zs;
struct zip_file *zfile;
@@ -620,7 +620,7 @@
/* extract iTunesMetadata.plist from package */
char *zbuf = NULL;
uint32_t len = 0;
- if (zip_f_get_contents(zf, "iTunesMetadata.plist", 0, &zbuf, &len) == 0) {
+ if (zip_get_contents(zf, "iTunesMetadata.plist", 0, &zbuf, &len) == 0) {
meta = plist_new_data(zbuf, len);
}
if (zbuf) {
@@ -631,7 +631,7 @@
plist_t info = NULL;
zbuf = NULL;
len = 0;
- if (zip_f_get_contents(zf, "Info.plist", ZIP_FL_NODIR, &zbuf, &len) < 0) {
+ if (zip_get_contents(zf, "Info.plist", ZIP_FL_NODIR, &zbuf, &len) < 0) {
zip_unchange_all(zf);
zip_close(zf);
goto leave_cleanup;
@@ -675,7 +675,7 @@
/* extract .sinf from package */
zbuf = NULL;
len = 0;
- if (zip_f_get_contents(zf, sinfname, 0, &zbuf, &len) == 0) {
+ if (zip_get_contents(zf, sinfname, 0, &zbuf, &len) == 0) {
sinf = plist_new_data(zbuf, len);
}
free(sinfname);