From ffb64e856f00918892dc81877024ec5922185119 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 25 Oct 2013 17:12:17 -0700 Subject: [PATCH] Ticket #432: Handle encodings parameter. --- src/protocols/vnc/client.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/protocols/vnc/client.c b/src/protocols/vnc/client.c index 589cecd1..50cdd9d0 100644 --- a/src/protocols/vnc/client.c +++ b/src/protocols/vnc/client.c @@ -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 */ if (rfbInitClient(rfb_client, NULL, NULL)) return rfb_client;