diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-17 03:32:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:23 -0500 |
commit | fe996e8ac687dbf5b5cfdd795f14aed89663f06d (patch) | |
tree | 5de2f4028b50de4ab2e43868a7306d82f575a677 /source4/libcli/smb2/tcon.c | |
parent | 553361797f2960265c527b7830e9899edbc69cd3 (diff) | |
download | samba-fe996e8ac687dbf5b5cfdd795f14aed89663f06d.tar.gz samba-fe996e8ac687dbf5b5cfdd795f14aed89663f06d.tar.xz samba-fe996e8ac687dbf5b5cfdd795f14aed89663f06d.zip |
r11754: make the SMB2 blob push routines take offsets, so they fit better with
the rest of the packet construction code
(This used to be commit 387ec2b17ff30a1c040b460b498c8fa7d8770593)
Diffstat (limited to 'source4/libcli/smb2/tcon.c')
-rw-r--r-- | source4/libcli/smb2/tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/tcon.c b/source4/libcli/smb2/tcon.c index 32ad05733ea..886ed9828bf 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; |