vnc: fix websocket field in events
PATCH 1/1 vnc: fix websocket field in events
Just need to fill VncClientInfo.websocket in vnc_client_cache_addr().
Signed-off-by Gerd Hoffmann <[email protected]>
--- ui/vnc.c | 1 + 1 file changed, 1 insertion(+)
ui/vnc.c +1 -0
@@ -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
Quoted 7 lines · Gerd Hoffmann
Just need to fill VncClientInfo.websocket in
vnc_client_cache_addr().Signed-off-by Gerd Hoffmann <[email protected]>--- ui/vnc.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Stefan Hajnoczi <[email protected]>