From: Stefan Metzmacher Date: Wed, 4 Dec 2013 13:59:07 +0000 (+0100) Subject: s3:smb2_notify: make use of smbd_smb2_generate_outbody() X-Git-Tag: tdb-1.2.13~118 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=b065578320b51c8994ff01e79306640cabed1c6f;p=samba.git s3:smb2_notify: make use of smbd_smb2_generate_outbody() Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 228346eb989..7351d9f60bc 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -130,7 +130,7 @@ static void smbd_smb2_request_notify_done(struct tevent_req *subreq) out_output_buffer_offset = SMB2_HDR_BODY + 0x08; - outbody = data_blob_talloc(req->out.vector, NULL, 0x08); + outbody = smbd_smb2_generate_outbody(req, 0x08); if (outbody.data == NULL) { error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); if (!NT_STATUS_IS_OK(error)) {