summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-19 14:02:09 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-19 15:44:30 +0200
commit2fbbf751f5afc5e8ed00c9ecb6ac817982f6362b (patch)
treecaac51f0663de3f415148e435e42d6e6d3df94b7 /source4
parent8574d509a94ccf44c129d9c5b2a71f631d4fbfb0 (diff)
downloadsamba-2fbbf751f5afc5e8ed00c9ecb6ac817982f6362b.tar.gz
s4:smb_server/smb: make use of _smb_setlen_nbt()
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/request.c b/source4/smb_server/smb/request.c
index d478963c90c..41854a1f0f1 100644
--- a/source4/smb_server/smb/request.c
+++ b/source4/smb_server/smb/request.c
@@ -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);