diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-19 14:02:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-19 15:44:30 +0200 |
commit | 8bf1e4caae0fcf87aa87bce2eaff2aab7ead8746 (patch) | |
tree | 00789f59a5a1c0bf89a4ab295c797709c5f592bc /source4/smb_server/smb2 | |
parent | 2fbbf751f5afc5e8ed00c9ecb6ac817982f6362b (diff) | |
download | samba-8bf1e4caae0fcf87aa87bce2eaff2aab7ead8746.tar.gz samba-8bf1e4caae0fcf87aa87bce2eaff2aab7ead8746.tar.bz2 samba-8bf1e4caae0fcf87aa87bce2eaff2aab7ead8746.zip |
s4:smb_server/smb2: make use of _smb_setlen_tcp()
metze
Diffstat (limited to 'source4/smb_server/smb2')
-rw-r--r-- | source4/smb_server/smb2/receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/receive.c b/source4/smb_server/smb2/receive.c index 40a57b88f1..b51e2b0500 100644 --- a/source4/smb_server/smb2/receive.c +++ b/source4/smb_server/smb2/receive.c @@ -251,7 +251,7 @@ void smb2srv_send_reply(struct smb2srv_request *req) } if (req->out.size > NBT_HDR_SIZE) { - _smb2_setlen(req->out.buffer, req->out.size - NBT_HDR_SIZE); + _smb_setlen_tcp(req->out.buffer, req->out.size - NBT_HDR_SIZE); } /* if signing is active on the session then sign the packet */ |