diff options
author | Nikias Bassen | 2019-05-21 01:48:11 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-05-21 01:48:11 +0200 |
commit | 9efb1745bf0eb68064a670b297d4ec7fc98caa02 (patch) | |
tree | 35d08bfe8ebde55baefb30e0f009bb31c1e06971 /include/usbmuxd.h | |
parent | cf265a8cf3059b34209cdef8afb3b77246614e68 (diff) | |
download | libusbmuxd-9efb1745bf0eb68064a670b297d4ec7fc98caa02.tar.gz libusbmuxd-9efb1745bf0eb68064a670b297d4ec7fc98caa02.tar.bz2 |
socket: Return -ECONNRESET from socket_receive_timeout() instead of -EAGAIN if peer closed the socket
Returning -EAGAIN would indicate the caller can try again, but if the peer
closed the socket that wouldn't make any sense. Thanks to sctol for reporting.
Diffstat (limited to 'include/usbmuxd.h')
0 files changed, 0 insertions, 0 deletions