From fc2768f80741c81d9965e5fcc1e6a65ffb3e79dd Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Thu, 19 Nov 2015 16:17:36 +0100 Subject: [PATCH] cliprdr/server: Fix incorrect message header --- 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 4ffa71e8b..bf3ea94f2 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_REQUEST, 0, + s = cliprdr_server_packet_new(CB_FILECONTENTS_RESPONSE, 0, 4 + fileContentsResponse->cbRequested); if (!s)