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:22 -0800 |
commit | d307953e08038cf4ba0367a85296d9f3b11d51d7 (patch) | |
tree | 2e1d7708edf99fd2d3d1a18f97983c356fcdf1c0 /source3 | |
parent | ec8dedb50f8be4c79b1018700b30f035a39650d3 (diff) | |
download | samba-d307953e08038cf4ba0367a85296d9f3b11d51d7.tar.gz samba-d307953e08038cf4ba0367a85296d9f3b11d51d7.tar.xz samba-d307953e08038cf4ba0367a85296d9f3b11d51d7.zip |
s3:smb2_write: make use of smbd_smb2_generate_outbody()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index f9cfbfcf05..4e138fe6b0 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -127,7 +127,7 @@ static void smbd_smb2_request_write_done(struct tevent_req *subreq) return; } - outbody = data_blob_talloc(req->out.vector, NULL, 0x10); + outbody = smbd_smb2_generate_outbody(req, 0x10); if (outbody.data == NULL) { error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); if (!NT_STATUS_IS_OK(error)) { |