summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/mobilesync.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-05-31 19:36:53 +0200
committerGravatar Nikias Bassen2010-05-31 19:36:53 +0200
commitb5b838a771c4b62023ee109d507fe83041001d27 (patch)
tree5fbe3b082932b105843d51dae6e2e2fe12cde6f4 /include/libimobiledevice/mobilesync.h
parentc072273de30d458d7288df36f21770b2421a8408 (diff)
downloadlibimobiledevice-b5b838a771c4b62023ee109d507fe83041001d27.tar.gz
libimobiledevice-b5b838a771c4b62023ee109d507fe83041001d27.tar.bz2
idevicebackup: correctly handle removal of existing .mddata + .mdinfo files
This commit fixes the problem that the .mddata and .mdinfo files were not removed due to an incorrect check for the result of stat(). Since the file data is sent in chunks we have to check for existing files only when the first chunk of a file is received. That's why we now reset hunk_index each time a file has been completely received.
Diffstat (limited to 'include/libimobiledevice/mobilesync.h')
0 files changed, 0 insertions, 0 deletions