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 | 2ecd5c9693a98b6baefabd915a4a44e8ac3fad37 (patch) | |
tree | 193105f75187fff1d49998bf45d0ba71596a8050 | |
parent | c09292e20d8f1a6da6d5b56a1155abce4e02acf1 (diff) | |
download | samba-2ecd5c9693a98b6baefabd915a4a44e8ac3fad37.tar.gz samba-2ecd5c9693a98b6baefabd915a4a44e8ac3fad37.tar.xz samba-2ecd5c9693a98b6baefabd915a4a44e8ac3fad37.zip |
s3:smb2_close: 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_close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_close.c b/source3/smbd/smb2_close.c index dce8cacb65e..3712ffe21d2 100644 --- a/source3/smbd/smb2_close.c +++ b/source3/smbd/smb2_close.c @@ -114,7 +114,7 @@ static void smbd_smb2_request_close_done(struct tevent_req *subreq) return; } - outbody = data_blob_talloc(req->out.vector, NULL, 0x3C); + outbody = smbd_smb2_generate_outbody(req, 0x3C); if (outbody.data == NULL) { error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); if (!NT_STATUS_IS_OK(error)) { |