From 6890e0b84d635f83e68e964b88c2dc489ee21636 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Thu, 19 Nov 2015 16:29:57 +0100 Subject: [PATCH] cliprdr/server: Fix incorrect message flags --- channels/cliprdr/server/cliprdr_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/cliprdr/server/cliprdr_main.c b/channels/cliprdr/server/cliprdr_main.c index bf3ea94..24a34c5 100644 --- a/channels/cliprdr/server/cliprdr_main.c +++ b/channels/cliprdr/server/cliprdr_main.c @@ -470,7 +470,7 @@ static UINT cliprdr_server_file_contents_response(CliprdrServerContext* context, if (fileContentsResponse->dwFlags & FILECONTENTS_SIZE) fileContentsResponse->cbRequested = sizeof(UINT64); - s = cliprdr_server_packet_new(CB_FILECONTENTS_RESPONSE, 0, + s = cliprdr_server_packet_new(CB_FILECONTENTS_RESPONSE, fileContentsResponse->msgFlags, 4 + fileContentsResponse->cbRequested); if (!s) -- 2.7.4