diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-26 15:44:52 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-26 15:44:52 +0200 |
commit | f3166e75ef0cfbeafb748dd601af6391def8503a (patch) | |
tree | a11e86391f25a154305b65b474280be25a1a0934 /source3/libsmb | |
parent | 7221ce9bd5b0a3dde9d32d403cce465b642289fb (diff) | |
download | samba-f3166e75ef0cfbeafb748dd601af6391def8503a.tar.gz samba-f3166e75ef0cfbeafb748dd601af6391def8503a.tar.bz2 samba-f3166e75ef0cfbeafb748dd601af6391def8503a.zip |
s3:libsmb: replace smb_size - 4 with MIN_SMB_SIZE in clitrans.c
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clitrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c index bde2ef3d76..1e98fc6d5d 100644 --- a/source3/libsmb/clitrans.c +++ b/source3/libsmb/clitrans.c @@ -205,7 +205,7 @@ static void cli_trans_format(struct cli_trans_state *state, uint8_t *pwct, cmd += 1; } - param_offset = smb_size - 4; + param_offset = MIN_SMB_SIZE; switch (cmd) { case SMBtrans: |