cliprdr/server: Fix incorrect message header
authorMartin Fleisz <martin.fleisz@thincast.com>
Thu, 19 Nov 2015 15:17:36 +0000 (16:17 +0100)
committerMartin Fleisz <martin.fleisz@thincast.com>
Thu, 19 Nov 2015 15:17:36 +0000 (16:17 +0100)
channels/cliprdr/server/cliprdr_main.c

index 4ffa71e..bf3ea94 100644 (file)
@@ -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)