summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-01 07:09:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:57 -0500
commit28918cd0b0a091407f6e5be8396b363ffab87966 (patch)
tree194e4dc2a4aaf5f9017582a47cc6180a45d020ac /source4/libcli/smb2
parent9c6b7f2d62e134a4bc15efc04e05be25e4a53dc7 (diff)
downloadsamba-28918cd0b0a091407f6e5be8396b363ffab87966.tar.gz
samba-28918cd0b0a091407f6e5be8396b363ffab87966.tar.bz2
samba-28918cd0b0a091407f6e5be8396b363ffab87966.zip
r11996: don't overwrite the buffercode
metze (This used to be commit fee5b6f40784e75a469320a584423c5030b69400)
Diffstat (limited to 'source4/libcli/smb2')
-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 886ed9828b..ddc4babeea 100644
--- a/source4/libcli/smb2/tcon.c
+++ b/source4/libcli/smb2/tcon.c
@@ -60,7 +60,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);
+ SSVAL(req->out.body, 0x02, io->in.unknown1);
status = smb2_push_o16s16_string(&req->out, 0x04, io->in.path);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(req);