diff options
author | Geoff Paul | 2012-01-12 01:33:17 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-01-12 01:33:17 +0100 |
commit | c182599c8c18ed729726ea7cbbd0a3b89790d2db (patch) | |
tree | b1d5c257d1de1f67528cb8457aa766d0af6caad1 /COPYING | |
parent | be74df913206d354988db302eb049ed1e40a4a43 (diff) | |
download | libimobiledevice-c182599c8c18ed729726ea7cbbd0a3b89790d2db.tar.gz libimobiledevice-c182599c8c18ed729726ea7cbbd0a3b89790d2db.tar.bz2 |
idevice: add error checking to internal_ssl_write()
Returning 0 bytes sent upon error causes an infinite loop
within the calling gnutls code. Returning -1 as an error
code allows gnutls to properly detect and recover.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions