summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-12-04 14:59:07 +0100
committerJeremy Allison <jra@samba.org>2014-03-05 13:59:21 -0800
commit46840db4160bfb4a908c08b065cd9130d63e2d86 (patch)
treee0990d09b680960f05562161868f7a431c3a0080
parent208046b2eb83ca4b5c30b9fa3da69efae439fee3 (diff)
downloadsamba-46840db4160bfb4a908c08b065cd9130d63e2d86.tar.gz
samba-46840db4160bfb4a908c08b065cd9130d63e2d86.tar.xz
samba-46840db4160bfb4a908c08b065cd9130d63e2d86.zip
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>
-rw-r--r--source3/smbd/smb2_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_flush.c b/source3/smbd/smb2_flush.c
index 00a7158ad93..0d4c1a5b1a5 100644
--- a/source3/smbd/smb2_flush.c
+++ b/source3/smbd/smb2_flush.c
@@ -84,7 +84,7 @@ static void smbd_smb2_request_flush_done(struct tevent_req *subreq)
return;
}
- outbody = data_blob_talloc(req->out.vector, NULL, 0x04);
+ outbody = smbd_smb2_generate_outbody(req, 0x04);
if (outbody.data == NULL) {
error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
if (!NT_STATUS_IS_OK(error)) {