GUACAMOLE-249: Do not include CB_RESPONSE_OK flag in Format List PDU.

The CLIPRDR specification requires that the msgFlags field for the
Format List PDU be set to 0x0000. The function within FreeRDP overrides
this value to 0x0000, but it is still incorrect to attempt to set it.
This commit is contained in:
Michael Jumper 2019-10-12 13:47:50 -07:00
parent 8c7984d201
commit 9dd1555c81

View File

@ -59,8 +59,7 @@ static UINT guac_rdp_cliprdr_send_format_list(CliprdrClientContext* cliprdr) {
{ .formatId = CF_TEXT }, { .formatId = CF_TEXT },
{ .formatId = CF_UNICODETEXT } { .formatId = CF_UNICODETEXT }
}, },
.numFormats = 2, .numFormats = 2
.msgFlags = CB_RESPONSE_OK
}; };
return cliprdr->ClientFormatList(cliprdr, &format_list); return cliprdr->ClientFormatList(cliprdr, &format_list);