From 0f4ad590f2ca1d87e6383cd423db9446a01f5441 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 25 Jan 2010 15:35:07 +0100 Subject: iphonebackup: Add _new to Info.plist factory helper name This better reflects that a newly allocated plist_t is returned. --- tools/iphonebackup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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); -- cgit v1.1-32-gdbae