summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/close.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-14 05:09:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:17 -0500
commitc6395a30b057c87de8ce410d5ea5ebe2e017093d (patch)
treef33078b5880ae66d9f51fe809a6369a17d5aa931 /source4/libcli/smb2/close.c
parent6f49a2404cde1e3e8a20e7ce270e28191ab9037e (diff)
downloadsamba-c6395a30b057c87de8ce410d5ea5ebe2e017093d.tar.gz
samba-c6395a30b057c87de8ce410d5ea5ebe2e017093d.tar.bz2
samba-c6395a30b057c87de8ce410d5ea5ebe2e017093d.zip
r11715: added SMB2 read and write requests
(This used to be commit d3556cbfa38447d2d385b697c1855b3c13d42744)
Diffstat (limited to 'source4/libcli/smb2/close.c')
-rw-r--r--source4/libcli/smb2/close.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/smb2/close.c b/source4/libcli/smb2/close.c
index 2802e2f27e..d5a2c4d422 100644
--- a/source4/libcli/smb2/close.c
+++ b/source4/libcli/smb2/close.c
@@ -38,8 +38,7 @@ struct smb2_request *smb2_close_send(struct smb2_tree *tree, struct smb2_close *
SSVAL(req->out.body, 0x00, io->in.buffer_code);
SSVAL(req->out.body, 0x02, io->in.flags);
SIVAL(req->out.body, 0x04, io->in._pad);
- SBVAL(req->out.body, 0x08, io->in.handle.data[0]);
- SBVAL(req->out.body, 0x10, io->in.handle.data[1]);
+ smb2_put_handle(req->out.body+0x08, io->in.handle);
smb2_transport_send(req);