summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-12-04 14:59:07 +0100
committerJeremy Allison <jra@samba.org>2014-03-05 13:59:21 -0800
commita021a25104aa570efd8b69920b26fc2dcc6b5c04 (patch)
tree7ad99d19cdbe94651b2271c5e0173db27299d2df /source3
parent46840db4160bfb4a908c08b065cd9130d63e2d86 (diff)
downloadsamba-a021a25104aa570efd8b69920b26fc2dcc6b5c04.tar.gz
samba-a021a25104aa570efd8b69920b26fc2dcc6b5c04.tar.xz
samba-a021a25104aa570efd8b69920b26fc2dcc6b5c04.zip
s3:smb2_getinfo: make use of smbd_smb2_generate_outbody()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_getinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c
index 449aeb3f5f..ec6181a3b4 100644
--- a/source3/smbd/smb2_getinfo.c
+++ b/source3/smbd/smb2_getinfo.c
@@ -178,7 +178,7 @@ static void smbd_smb2_request_getinfo_done(struct tevent_req *subreq)
out_output_buffer_offset = SMB2_HDR_BODY + 0x08;
- outbody = data_blob_talloc(req->out.vector, NULL, 0x08);
+ outbody = smbd_smb2_generate_outbody(req, 0x08);
if (outbody.data == NULL) {
error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
if (!NT_STATUS_IS_OK(error)) {