diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-22 23:12:56 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-24 20:40:47 +0100 |
commit | f9df355befdef7c424ebc70abfeb696de095235e (patch) | |
tree | 2551474b25038af75184a9b065748f70da47597e /lib | |
parent | e50075a5804204068f07cb82337d3a251b368245 (diff) | |
download | samba-f9df355befdef7c424ebc70abfeb696de095235e.tar.gz samba-f9df355befdef7c424ebc70abfeb696de095235e.tar.bz2 samba-f9df355befdef7c424ebc70abfeb696de095235e.zip |
Fix async writev
Diffstat (limited to 'lib')
-rw-r--r-- | lib/async_req/async_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c index 33f8ebe192..67776ff67f 100644 --- a/lib/async_req/async_sock.c +++ b/lib/async_req/async_sock.c @@ -727,7 +727,7 @@ static void writev_handler(struct tevent_context *ev, struct tevent_fd *fde, return; } if (written == 0) { - tevent_req_error(req, EOF); + tevent_req_error(req, EPIPE); return; } state->total_size += written; |