Ticket #432: Handle encodings parameter.

This commit is contained in:
Michael Jumper 2013-10-25 17:12:17 -07:00
parent 3cf001116b
commit ffb64e856f

View File

@ -183,6 +183,11 @@ static rfbClient* __guac_vnc_get_client(guac_client* client) {
} }
/* Set encodings if provided */
if (guac_client_data->encodings)
rfb_client->appData.encodingsString =
strdup(guac_client_data->encodings);
/* Connect */ /* Connect */
if (rfbInitClient(rfb_client, NULL, NULL)) if (rfbInitClient(rfb_client, NULL, NULL))
return rfb_client; return rfb_client;