summaryrefslogtreecommitdiff
path: root/source4/smb_server
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/smb_server
parent8574d509a94ccf44c129d9c5b2a71f631d4fbfb0 (diff)
downloadsamba-2fbbf751f5afc5e8ed00c9ecb6ac817982f6362b.tar.gz
samba-2fbbf751f5afc5e8ed00c9ecb6ac817982f6362b.tar.bz2
samba-2fbbf751f5afc5e8ed00c9ecb6ac817982f6362b.zip
s4:smb_server/smb: make use of _smb_setlen_nbt()
metze
Diffstat (limited to 'source4/smb_server')
-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 d478963c90..41854a1f0f 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);