summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-23 16:19:30 +0200
committerGravatar Martin Szulecki2010-07-23 16:19:30 +0200
commitd6a90271a5c3de7f2be9925d709a57089cc30f41 (patch)
tree2f1014d0dc67c9ba7738b492095b591e4f13f198
parent617f0b05b3d231375b6e154468c1b8f89e8cee9a (diff)
downloadlibimobiledevice-d6a90271a5c3de7f2be9925d709a57089cc30f41.tar.gz
libimobiledevice-d6a90271a5c3de7f2be9925d709a57089cc30f41.tar.bz2
idevicebackup: Do not save just the last hunk of first file to backup
-rw-r--r--tools/idevicebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c
index c5c5b37..c0b1645 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -1033,7 +1033,7 @@ int main(int argc, char *argv[])
/* save <hash>.mddata */
node = plist_dict_get_item(node_tmp, "BackupFileInfo");
- if (node_tmp && file_path) {
+ if (node_tmp) {
node = plist_dict_get_item(node_tmp, "DLFileDest");
plist_get_string_val(node, &file_path);