summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/smb2cli_close.c')
-rw-r--r--source3/libsmb/smb2cli_close.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_close.c b/source3/libsmb/smb2cli_close.c
index 7af35fe0e4..e6b907377f 100644
--- a/source3/libsmb/smb2cli_close.c
+++ b/source3/libsmb/smb2cli_close.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"
@@ -53,7 +53,7 @@ struct tevent_req *smb2cli_close_send(TALLOC_CTX *mem_ctx,
SBVAL(fixed, 8, fid_persistent);
SBVAL(fixed, 16, fid_volatile);
- subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_CLOSE,
+ subreq = smb2cli_req_send(state, ev, cli->conn, SMB2_OP_CLOSE,
0, 0, /* flags */
cli->timeout,
cli->smb2.pid,