From 43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 28 Nov 2010 23:13:18 +0100 Subject: idevicebackup4: return success for empty DLMessageUploadFiles messages --- tools/idevicebackup4.c | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- cgit v1.1-32-gdbae