diff options
author | Martin Szulecki | 2010-01-25 15:35:07 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-25 15:35:07 +0100 |
commit | 0f4ad590f2ca1d87e6383cd423db9446a01f5441 (patch) | |
tree | 992fffa8ae44cfdca39c8a5f30eb018c8fd60b3b /tools | |
parent | 57d2586abd946b019095841038afb323026bfc16 (diff) | |
download | libimobiledevice-0f4ad590f2ca1d87e6383cd423db9446a01f5441.tar.gz libimobiledevice-0f4ad590f2ca1d87e6383cd423db9446a01f5441.tar.bz2 |
iphonebackup: Add _new to Info.plist factory helper name
This better reflects that a newly allocated plist_t is returned.
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 { CMD_LEAVE }; -static plist_t mobilebackup_factory_info_plist() +static plist_t mobilebackup_factory_info_plist_new() { /* gather data from lockdown */ GTimeVal tv = {0, 0}; @@ -356,7 +356,7 @@ int main(int argc, char *argv[]) /* create Info.plist (Device infos, IC-Info.sidb, photos, app_ids, iTunesPrefs) */ printf("Creating \"%s/Info.plist\".\n", backup_directory); - plist_t info_plist = mobilebackup_factory_info_plist(); + plist_t info_plist = mobilebackup_factory_info_plist_new(); if (stat(info_path, &st) == 0) remove(info_path); plist_write_to_filename(info_plist, info_path, PLIST_FORMAT_XML); |