Add "err_on_readability" to writev_send
[ira/wip.git] / source3 / libsmb / async_smb.c
index 12bc0a6fb31eae26b12875e35b884aae67413256..6edfe514b806b5c763e7a27d5580597ea80d3985 100644 (file)
@@ -680,10 +680,10 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req,
                iov[0].iov_base = (void *)buf;
                iov[0].iov_len = talloc_get_size(buf);
                subreq = writev_send(state, state->ev, state->cli->outgoing,
-                                    state->cli->fd, iov, 1);
+                                    state->cli->fd, false, iov, 1);
        } else {
                subreq = writev_send(state, state->ev, state->cli->outgoing,
-                                    state->cli->fd, iov, iov_count);
+                                    state->cli->fd, false, iov, iov_count);
        }
        if (subreq == NULL) {
                return NT_STATUS_NO_MEMORY;