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:20 -0800 |
commit | c09292e20d8f1a6da6d5b56a1155abce4e02acf1 (patch) | |
tree | 75c09f03884cb2bbd87e4b2f0eb6114a9312e77a | |
parent | fd4c82f6f50ebe02613c498c4f0070569e9ba10c (diff) | |
download | samba-c09292e20d8f1a6da6d5b56a1155abce4e02acf1.tar.gz samba-c09292e20d8f1a6da6d5b56a1155abce4e02acf1.tar.xz samba-c09292e20d8f1a6da6d5b56a1155abce4e02acf1.zip |
s3:smb2_break: make use of smbd_smb2_generate_outbody()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/smbd/smb2_break.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_break.c b/source3/smbd/smb2_break.c index 945faa155e..6446b79ff8 100644 --- a/source3/smbd/smb2_break.c +++ b/source3/smbd/smb2_break.c @@ -106,7 +106,7 @@ static void smbd_smb2_request_oplock_break_done(struct tevent_req *subreq) in_file_id_persistent = BVAL(inbody, 0x08); in_file_id_volatile = BVAL(inbody, 0x10); - outbody = data_blob_talloc(req->out.vector, NULL, 0x18); + outbody = smbd_smb2_generate_outbody(req, 0x18); if (outbody.data == NULL) { error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); if (!NT_STATUS_IS_OK(error)) { |