Skip to contentSkip to conversation

vnc: fix websocket field in events

PATCH In review Gerd Hoffmann 2 participants 2 messages Sep 4, 2019 – Sep 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vnc: fix websocket field in events

Just need to fill VncClientInfo.websocket in vnc_client_cache_addr().

---
 ui/vnc.c | 1 +
 1 file changed, 1 insertion(+)
ui/vnc.c +1 -0
index 649ce93cd24c..e318bfc1ed2f 100644
@@ -278,6 +278,7 @@ static void vnc_client_cache_addr(VncState *client)
     vnc_init_basic_info_from_remote_addr(client->sioc,
                                          qapi_VncClientInfo_base(client->info),
                                          &err);
+    client->info->websocket = client->websocket;
     if (err) {
         qapi_free_VncClientInfo(client->info);
         client->info = NULL;
Signature · 1 line
2.18.1