diff options
author | Martin Szulecki | 2011-04-26 15:04:30 +0200 |
---|---|---|
committer | Martin Szulecki | 2011-04-26 15:04:30 +0200 |
commit | fdeb09f2f225511204e1d2446b0aac20744efb67 (patch) | |
tree | cedd71e603531df669ae68603fe7f3f98fbd5511 | |
parent | 60ec8e26e07055d26a27a029c2494882365bb3dd (diff) | |
download | libimobiledevice-fdeb09f2f225511204e1d2446b0aac20744efb67.tar.gz libimobiledevice-fdeb09f2f225511204e1d2446b0aac20744efb67.tar.bz2 |
idevicebackup4: Improve message when discarding data during cancelling of backup
-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); |