From 2ddfe40425366dce59b9a23d65044c6a6f93ec81 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 4 Dec 2013 14:59:07 +0100 Subject: [PATCH] s3:smb2_keepalive: make use of smbd_smb2_generate_outbody() Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source3/smbd/smb2_keepalive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_keepalive.c b/source3/smbd/smb2_keepalive.c index 24a4f8eade4..b16ff6bd983 100644 --- a/source3/smbd/smb2_keepalive.c +++ b/source3/smbd/smb2_keepalive.c @@ -35,7 +35,7 @@ NTSTATUS smbd_smb2_request_process_keepalive(struct smbd_smb2_request *req) /* TODO: update some time stamps */ - outbody = data_blob_talloc(req->out.vector, NULL, 0x04); + outbody = smbd_smb2_generate_outbody(req, 0x04); if (outbody.data == NULL) { return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); } -- 2.11.4.GIT