diff options
author | Geoff Paul | 2012-01-12 01:33:17 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-03-22 18:52:06 +0100 |
commit | b83f925e58d4e8b89d042c0f375045a94bb0b202 (patch) | |
tree | a49c2ddae99ba603bf168623cfb9b4e6d2572b0d /tools/idevicescreenshot.c | |
parent | af0765f2fdb266f3bc08e2adf639b24aec8dee4b (diff) | |
download | libimobiledevice-b83f925e58d4e8b89d042c0f375045a94bb0b202.tar.gz libimobiledevice-b83f925e58d4e8b89d042c0f375045a94bb0b202.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 'tools/idevicescreenshot.c')
0 files changed, 0 insertions, 0 deletions