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 | b065578320b51c8994ff01e79306640cabed1c6f (patch) | |
tree | 9784977b07be1e8489c9199364399a5d915002c6 | |
parent | 59c185bf549b359728183c8e61c165823f6112ef (diff) | |
download | samba-b065578320b51c8994ff01e79306640cabed1c6f.tar.gz samba-b065578320b51c8994ff01e79306640cabed1c6f.tar.xz samba-b065578320b51c8994ff01e79306640cabed1c6f.zip |
s3:smb2_notify: 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_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 228346eb98..7351d9f60b 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)) { |