summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup2.c
diff options
context:
space:
mode:
authorGravatar Li Beinan2020-06-27 20:51:04 +0800
committerGravatar Nikias Bassen2022-04-22 12:10:52 +0200
commit4a77478c13b35e311922d05f0866adce817a0d6a (patch)
treefe805d3be6598e3e476a9651e5671ddf0c519cbc /tools/idevicebackup2.c
parent1f625b2e89b27c391a8c2f4aa9a82630f10abb92 (diff)
downloadlibimobiledevice-4a77478c13b35e311922d05f0866adce817a0d6a.tar.gz
libimobiledevice-4a77478c13b35e311922d05f0866adce817a0d6a.tar.bz2
idevice: Fix mistreatment of 0-byte sent cases
Currently if 0 byte gets sent, it is treated as not-enough-data. This is wrong, because with TCP, 0-byte-sent usually means the receiver end is closed. We must set a new case for this and must not normalize the sent-bytes to 0 in general.
Diffstat (limited to 'tools/idevicebackup2.c')
0 files changed, 0 insertions, 0 deletions