1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

Fix async writev

This commit is contained in:
Volker Lendecke 2009-02-22 23:12:56 +01:00
parent e50075a580
commit f9df355bef

View File

@ -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;