summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/smb2/read.c')
-rw-r--r--source4/libcli/smb2/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/read.c b/source4/libcli/smb2/read.c
index cbb3f74fa4..0d63a6ba0a 100644
--- a/source4/libcli/smb2/read.c
+++ b/source4/libcli/smb2/read.c
@@ -39,7 +39,7 @@ struct smb2_request *smb2_read_send(struct smb2_tree *tree, struct smb2_read *io
SSVAL(req->out.body, 0x02, 0);
SIVAL(req->out.body, 0x04, io->in.length);
SBVAL(req->out.body, 0x08, io->in.offset);
- smb2_put_handle(req->out.body+0x10, io->in.handle);
+ smb2_put_handle(req->out.body+0x10, &io->in.handle);
memcpy(req->out.body+0x20, io->in._pad, 17);
smb2_transport_send(req);