git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c91f05
)
s3:smb2_find: make use of smbd_smb2_generate_outbody()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Dec 2013 13:59:07 +0000
(14:59 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 5 Mar 2014 21:59:21 +0000
(13:59 -0800)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_find.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_find.c
b/source3/smbd/smb2_find.c
index 46d0aa49ae56d3be5b4f7d78f4b17c78a865ad5a..3f779b87ae82bf11ab2678478649b85173379f24 100644
(file)
--- 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)) {