git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be8e33e
)
libcli/smb: make use of SMB2_HDR_BODY as header size
author
Stefan Metzmacher
<metze@samba.org>
Mon, 23 Jul 2012 07:44:06 +0000
(09:44 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 23 Jul 2012 16:19:36 +0000
(18:19 +0200)
metze
libcli/smb/smbXcli_base.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smbXcli_base.c
b/libcli/smb/smbXcli_base.c
index 67d5f6a0eaa97d5527c923822beeb061a11c4dbd..c25c7f2fbf281a03abb7e23168632870e9e0d4f1 100644
(file)
--- 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 */
/*