diff options
author | Nikias Bassen | 2010-05-31 19:36:53 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-06-06 16:22:15 +0200 |
commit | f19bce36196fe427b78331dffd3efe230546345c (patch) | |
tree | aae69617e01701f154dc185465f5b50ac920aa68 /src/afc.h | |
parent | d546183bcb1ddb44903f061be1bc3bf3343e83e8 (diff) | |
download | libimobiledevice-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/afc.h')
0 files changed, 0 insertions, 0 deletions