summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/async_smb.c4
-rw-r--r--source3/libsmb/clientgen.c4
-rw-r--r--source3/libsmb/smb2cli_base.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 402abb2c33..462a6dc4a4 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -430,7 +430,7 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req,
iov[0].iov_len = talloc_get_size(buf);
iov_count = 1;
}
- subreq = writev_send(state, state->ev, state->cli->outgoing,
+ subreq = writev_send(state, state->ev, state->cli->conn.outgoing,
state->cli->fd, false, iov, iov_count);
if (subreq == NULL) {
return NT_STATUS_NO_MEMORY;
@@ -954,7 +954,7 @@ NTSTATUS cli_smb_chain_send(struct tevent_req **reqs, int num_reqs)
bool cli_has_async_calls(struct cli_state *cli)
{
- return ((tevent_queue_length(cli->outgoing) != 0)
+ return ((tevent_queue_length(cli->conn.outgoing) != 0)
|| (talloc_array_length(cli->conn.pending) != 0));
}
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index b84b1812e8..c394197ad9 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -233,8 +233,8 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx,
goto error;
}
- cli->outgoing = tevent_queue_create(cli, "cli_outgoing");
- if (cli->outgoing == NULL) {
+ cli->conn.outgoing = tevent_queue_create(cli, "cli_outgoing");
+ if (cli->conn.outgoing == NULL) {
goto error;
}
cli->conn.pending = NULL;
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c
index 037127ea07..a1ecfb4e38 100644
--- a/source3/libsmb/smb2cli_base.c
+++ b/source3/libsmb/smb2cli_base.c
@@ -293,7 +293,7 @@ NTSTATUS smb2cli_req_compound_submit(struct tevent_req **reqs,
iov[0].iov_base = state->nbt;
iov[0].iov_len = sizeof(state->nbt);
- subreq = writev_send(state, state->ev, state->cli->outgoing,
+ subreq = writev_send(state, state->ev, state->cli->conn.outgoing,
state->cli->fd, false, iov, num_iov);
if (subreq == NULL) {
return NT_STATUS_NO_MEMORY;