diff options
Diffstat (limited to 'tools/idevicebackup4.c')
-rw-r--r-- | tools/idevicebackup4.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c index b0e4f40..f4f812c 100644 --- a/tools/idevicebackup4.c +++ b/tools/idevicebackup4.c @@ -832,8 +832,10 @@ static int mb2_handle_receive_files(plist_t message, const char *backup_dir) free(msg); } } while (1); + + /* if there are leftovers to read, finish up cleanly */ if ((int)nlen-1 > 0) { - printf("trashing padding\n"); + printf("\nDiscarding current data hunk.\n"); fname = (char*)malloc(nlen-1); mobilebackup2_receive_raw(mobilebackup2, fname, nlen-1, &r); free(fname); |