summaryrefslogtreecommitdiffstats
path: root/src/installation_proxy.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-05-31 19:36:53 +0200
committerGravatar Martin Szulecki2010-06-06 16:22:15 +0200
commitf19bce36196fe427b78331dffd3efe230546345c (patch)
treeaae69617e01701f154dc185465f5b50ac920aa68 /src/installation_proxy.h
parentd546183bcb1ddb44903f061be1bc3bf3343e83e8 (diff)
downloadlibimobiledevice-f19bce36196fe427b78331dffd3efe230546345c.tar.gz
libimobiledevice-f19bce36196fe427b78331dffd3efe230546345c.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 'src/installation_proxy.h')
0 files changed, 0 insertions, 0 deletions