summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-23 09:44:06 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-23 18:19:36 +0200
commit92811c6f5f3d3807ab70a8acfd25795c7c0556b1 (patch)
treecca84468afed2b7934b9c38928bdffb3881b63e8 /libcli
parentbe8e33ec5416ebc57114dd2c1472ed0faffd05bb (diff)
downloadsamba-92811c6f5f3d3807ab70a8acfd25795c7c0556b1.tar.gz
samba-92811c6f5f3d3807ab70a8acfd25795c7c0556b1.tar.bz2
samba-92811c6f5f3d3807ab70a8acfd25795c7c0556b1.zip
libcli/smb: make use of SMB2_HDR_BODY as header size
metze
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smbXcli_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index 67d5f6a0ea..c25c7f2fbf 100644
--- a/libcli/smb/smbXcli_base.c
+++ b/libcli/smb/smbXcli_base.c
@@ -193,7 +193,7 @@ struct smbXcli_req_state {
const uint8_t *dyn;
uint32_t dyn_len;
- uint8_t hdr[64];
+ uint8_t hdr[SMB2_HDR_BODY];
uint8_t pad[7]; /* padding space for compounding */
/*