summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-11-28 23:13:18 +0100
committerGravatar Martin Szulecki2011-04-11 19:42:19 +0200
commit43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc (patch)
treeb360f1e2c257ad2bb7943b82190e59421575fc8e /tools
parent281dcd27c4e192f05f3b1b5b583f2420c1ab5d18 (diff)
downloadlibimobiledevice-43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc.tar.gz
libimobiledevice-43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc.tar.bz2
idevicebackup4: return success for empty DLMessageUploadFiles messages
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup4.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index d07638b..398276f 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -1012,6 +1012,10 @@ static int handle_receive_files(plist_t message, const char *backup_dir)
}
if (backup_total_size > 0) {
printf("Receiving backup data\n");
+ } else {
+ // TODO correct?
+ mobilebackup2_send_status_response(mobilebackup2, 0, NULL, plist_new_dict());
+ return 0;
}
do {