diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-12-04 14:59:07 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-03-05 13:59:21 -0800 |
commit | 208046b2eb83ca4b5c30b9fa3da69efae439fee3 (patch) | |
tree | 4c87c0c3e4f9a63698df84f9e11610c70991d512 /source3/smbd/smb2_find.c | |
parent | 2c91f0506bca7936c4e25a8151a6b519c92faae9 (diff) | |
download | samba-208046b2eb83ca4b5c30b9fa3da69efae439fee3.tar.gz samba-208046b2eb83ca4b5c30b9fa3da69efae439fee3.tar.xz samba-208046b2eb83ca4b5c30b9fa3da69efae439fee3.zip |
s3:smb2_find: 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/smbd/smb2_find.c')
-rw-r--r-- | source3/smbd/smb2_find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c index 46d0aa49ae5..3f779b87ae8 100644 --- a/source3/smbd/smb2_find.c +++ b/source3/smbd/smb2_find.c @@ -162,7 +162,7 @@ static void smbd_smb2_request_find_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)) { |