diff options
author | Nikias Bassen | 2010-11-28 23:13:18 +0100 |
---|---|---|
committer | Martin Szulecki | 2011-04-11 19:42:19 +0200 |
commit | 43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc (patch) | |
tree | b360f1e2c257ad2bb7943b82190e59421575fc8e | |
parent | 281dcd27c4e192f05f3b1b5b583f2420c1ab5d18 (diff) | |
download | libimobiledevice-43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc.tar.gz libimobiledevice-43a55bbb96e0e909cbbccc8c77e7b678dfb21fcc.tar.bz2 |
idevicebackup4: return success for empty DLMessageUploadFiles messages
-rw-r--r-- | tools/idevicebackup4.c | 4 |
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 { |