summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/smb2/close.c')
-rw-r--r--source4/libcli/smb2/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/close.c b/source4/libcli/smb2/close.c
index 4483f3c75b..9156e7d10d 100644
--- a/source4/libcli/smb2/close.c
+++ b/source4/libcli/smb2/close.c
@@ -37,7 +37,7 @@ struct smb2_request *smb2_close_send(struct smb2_tree *tree, struct smb2_close *
SSVAL(req->out.body, 0x02, io->in.flags);
SIVAL(req->out.body, 0x04, 0); /* pad */
- smb2_push_handle(req->out.body+0x08, &io->in.handle);
+ smb2_push_handle(req->out.body+0x08, &io->in.file.handle);
smb2_transport_send(req);