async_sock: return -1/EPIPE if we're getting an end of file on read.
authorStefan Metzmacher <metze@samba.org>
Mon, 21 Sep 2009 00:36:06 +0000 (02:36 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 21 Sep 2009 04:04:53 +0000 (06:04 +0200)
commitf0d6e61977b68da48524e861646e2ad4bb91a214
tree9e82a6adf4195a58f277b130baea6b3cd7934467
parent00e378f17c39c52689601bc622b9cd78a0cdce12
async_sock: return -1/EPIPE if we're getting an end of file on read.

This makes the error handling in the callers easier.

metze
lib/async_req/async_sock.c