summaryrefslogtreecommitdiffstats
path: root/src/screenshotr.c
diff options
context:
space:
mode:
authorGravatar Geoff Paul2012-01-12 01:33:17 +0100
committerGravatar Nikias Bassen2012-01-12 01:33:17 +0100
commitc182599c8c18ed729726ea7cbbd0a3b89790d2db (patch)
treeb1d5c257d1de1f67528cb8457aa766d0af6caad1 /src/screenshotr.c
parentbe74df913206d354988db302eb049ed1e40a4a43 (diff)
downloadlibimobiledevice-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 'src/screenshotr.c')
0 files changed, 0 insertions, 0 deletions