Message ID | 4EE0ACB8-AA07-4A62-92D1-AF866DA241FB@gmail.com |
---|---|
State | New |
Headers | show |
On So, 2015-02-22 at 22:58 +0100, Jorge Acereda MaciĆ” wrote: > Connecting to VNC through websocket crashes in vnc_flush() when trying > to acquire a mutex that hasn't been initialized (vnc_init_state(vs) > hasn't been called at this point). Added to vnc queue. thanks, Gerd
diff --git a/ui/vnc-ws.c b/ui/vnc-ws.c index e304baf..30cb3ae 100644 --- a/ui/vnc-ws.c +++ b/ui/vnc-ws.c @@ -208,7 +208,7 @@ static void vncws_send_handshake_response(VncState *vs, const char* key) response = g_strdup_printf(WS_HANDSHAKE, accept); vnc_write(vs, response, strlen(response)); - vnc_flush(vs); + vnc_client_write_ws(vs); g_free(accept); g_free(response);
Connecting to VNC through websocket crashes in vnc_flush() when trying to acquire a mutex that hasn't been initialized (vnc_init_state(vs) hasn't been called at this point). Signed-off-by: Jorge Acereda Macia <jacereda@gmail.com> --- ui/vnc-ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)