diff options
| author | 2010-11-28 23:13:18 +0100 | |
|---|---|---|
| committer | 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) | |||
| 1012 | } | 1012 | } |
| 1013 | if (backup_total_size > 0) { | 1013 | if (backup_total_size > 0) { |
| 1014 | printf("Receiving backup data\n"); | 1014 | printf("Receiving backup data\n"); |
| 1015 | } else { | ||
| 1016 | // TODO correct? | ||
| 1017 | mobilebackup2_send_status_response(mobilebackup2, 0, NULL, plist_new_dict()); | ||
| 1018 | return 0; | ||
| 1015 | } | 1019 | } |
| 1016 | 1020 | ||
| 1017 | do { | 1021 | do { |
