diff options
Diffstat (limited to 'source4/libcli/smb2/close.c')
-rw-r--r-- | source4/libcli/smb2/close.c | 3 |
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); |