diff options
author | Nikias Bassen | 2010-05-31 19:36:53 +0200 |
---|---|---|
committer | Nikias Bassen | 2010-05-31 19:36:53 +0200 |
commit | b5b838a771c4b62023ee109d507fe83041001d27 (patch) | |
tree | 5fbe3b082932b105843d51dae6e2e2fe12cde6f4 /lockdown.c | |
parent | c072273de30d458d7288df36f21770b2421a8408 (diff) | |
download | libimobiledevice-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 'lockdown.c')
0 files changed, 0 insertions, 0 deletions