summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicebackup4.c')
-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 {