mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:smb2_flush: make use of smbd_smb2_generate_outbody()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
208046b2eb
commit
46840db416
@ -84,7 +84,7 @@ static void smbd_smb2_request_flush_done(struct tevent_req *subreq)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
outbody = data_blob_talloc(req->out.vector, NULL, 0x04);
|
outbody = smbd_smb2_generate_outbody(req, 0x04);
|
||||||
if (outbody.data == NULL) {
|
if (outbody.data == NULL) {
|
||||||
error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
|
error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
|
||||||
if (!NT_STATUS_IS_OK(error)) {
|
if (!NT_STATUS_IS_OK(error)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user