summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_write.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-07 18:44:21 +0200
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:31 +0100
commit6ab3f8cedbd79776169b1f84d8775b9887d9c82d (patch)
treef817583bd4bbf2bab0a1a96848ec7b1ff4df9626 /source3/libsmb/smb2cli_write.c
parent9ebdee281712dd6c89e406aa0e374e12c4dd8eb4 (diff)
downloadsamba-6ab3f8cedbd79776169b1f84d8775b9887d9c82d.tar.gz
samba-6ab3f8cedbd79776169b1f84d8775b9887d9c82d.tar.bz2
samba-6ab3f8cedbd79776169b1f84d8775b9887d9c82d.zip
s3:smb2cli: pass struct smbXcli_conn directly to smb2cli_req_create/_send()
metze
Diffstat (limited to 'source3/libsmb/smb2cli_write.c')
-rw-r--r--source3/libsmb/smb2cli_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_write.c b/source3/libsmb/smb2cli_write.c
index 3597c49c55..e4da6c8159 100644
--- a/source3/libsmb/smb2cli_write.c
+++ b/source3/libsmb/smb2cli_write.c
@@ -20,7 +20,7 @@
#include "includes.h"
#include "client.h"
#include "async_smb.h"
-#include "smb2cli_base.h"
+#include "../libcli/smb/smbXcli_base.h"
#include "smb2cli.h"
#include "libsmb/proto.h"
#include "lib/util/tevent_ntstatus.h"
@@ -74,7 +74,7 @@ struct tevent_req *smb2cli_write_send(TALLOC_CTX *mem_ctx,
dyn_len = sizeof(state->dyn_pad);
}
- subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_WRITE,
+ subreq = smb2cli_req_send(state, ev, cli->conn, SMB2_OP_WRITE,
0, 0, /* flags */
cli->timeout,
cli->smb2.pid,