Add "err_on_readability" to writev_send
[ira/wip.git] / source3 / lib / wb_reqtrans.c
index df92ecf8b065fde8eb8238bbca08d8acf54cafca..3fdf62a10878bf2c76408ad9bc6cde62866bdc23 100644 (file)
@@ -152,7 +152,7 @@ struct tevent_req *wb_req_write_send(TALLOC_CTX *mem_ctx,
                count = 2;
        }
 
-       subreq = writev_send(state, ev, queue, fd, state->iov, count);
+       subreq = writev_send(state, ev, queue, fd, true, state->iov, count);
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);
        }
@@ -309,7 +309,7 @@ struct tevent_req *wb_resp_write_send(TALLOC_CTX *mem_ctx,
                count = 2;
        }
 
-       subreq = writev_send(state, ev, queue, fd, state->iov, count);
+       subreq = writev_send(state, ev, queue, fd, true, state->iov, count);
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);
        }