1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

s4:smb_server/smb: make use of _smb_setlen_nbt()

metze
This commit is contained in:
Stefan Metzmacher 2011-10-19 14:02:09 +02:00
parent 8574d509a9
commit 2fbbf751f5

View File

@ -311,7 +311,7 @@ void smbsrv_send_reply_nosign(struct smbsrv_request *req)
}
if (req->out.size > NBT_HDR_SIZE) {
_smb_setlen(req->out.buffer, req->out.size - NBT_HDR_SIZE);
_smb_setlen_nbt(req->out.buffer, req->out.size - NBT_HDR_SIZE);
}
blob = data_blob_const(req->out.buffer, req->out.size);