summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/tcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/smb2/tcon.c')
-rw-r--r--source4/libcli/smb2/tcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/tcon.c b/source4/libcli/smb2/tcon.c
index 32ad05733e..886ed9828b 100644
--- a/source4/libcli/smb2/tcon.c
+++ b/source4/libcli/smb2/tcon.c
@@ -61,7 +61,7 @@ struct smb2_request *smb2_tree_connect_send(struct smb2_tree *tree,
SBVAL(req->out.hdr, SMB2_HDR_UID, tree->session->uid);
SIVAL(req->out.body, 0x00, io->in.unknown1);
- status = smb2_push_o16s16_string(&req->out, req->out.body+0x04, io->in.path);
+ status = smb2_push_o16s16_string(&req->out, 0x04, io->in.path);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(req);
return NULL;