diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/iphonebackup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iphonebackup.c b/tools/iphonebackup.c index c5ac49d..c073616 100644 --- a/tools/iphonebackup.c +++ b/tools/iphonebackup.c | |||
| @@ -44,7 +44,7 @@ enum cmd_mode { | |||
| 44 | CMD_LEAVE | 44 | CMD_LEAVE |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | static plist_t mobilebackup_factory_info_plist() | 47 | static plist_t mobilebackup_factory_info_plist_new() |
| 48 | { | 48 | { |
| 49 | /* gather data from lockdown */ | 49 | /* gather data from lockdown */ |
| 50 | GTimeVal tv = {0, 0}; | 50 | GTimeVal tv = {0, 0}; |
| @@ -356,7 +356,7 @@ int main(int argc, char *argv[]) | |||
| 356 | 356 | ||
| 357 | /* create Info.plist (Device infos, IC-Info.sidb, photos, app_ids, iTunesPrefs) */ | 357 | /* create Info.plist (Device infos, IC-Info.sidb, photos, app_ids, iTunesPrefs) */ |
| 358 | printf("Creating \"%s/Info.plist\".\n", backup_directory); | 358 | printf("Creating \"%s/Info.plist\".\n", backup_directory); |
| 359 | plist_t info_plist = mobilebackup_factory_info_plist(); | 359 | plist_t info_plist = mobilebackup_factory_info_plist_new(); |
| 360 | if (stat(info_path, &st) == 0) | 360 | if (stat(info_path, &st) == 0) |
| 361 | remove(info_path); | 361 | remove(info_path); |
| 362 | plist_write_to_filename(info_plist, info_path, PLIST_FORMAT_XML); | 362 | plist_write_to_filename(info_plist, info_path, PLIST_FORMAT_XML); |
