aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-ws.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-09-29 16:45:40 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-10-13 09:22:31 +0200
commitdbee9897d5c35643ab2932a86bdf27bee673a7b8 (patch)
tree10e27607937cff7fb1acd2448221021935fbdef9 /ui/vnc-ws.c
parent90cd03a30ee96779ee9ae36a84b387452e256358 (diff)
downloadqemu-dbee9897d5c35643ab2932a86bdf27bee673a7b8.zip
qemu-dbee9897d5c35643ab2932a86bdf27bee673a7b8.tar.gz
qemu-dbee9897d5c35643ab2932a86bdf27bee673a7b8.tar.bz2
ui: rename vnc_init_state to vnc_start_protocol
Rename the vnc_init_state method to reflect what its actual purpose is, to discourage future devs from using it for more general state initialization. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1475163940-26094-10-git-send-email-berrange@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc-ws.c')
-rw-r--r--ui/vnc-ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc-ws.c b/ui/vnc-ws.c
index 3bac46e..42a8e7b 100644
--- a/ui/vnc-ws.c
+++ b/ui/vnc-ws.c
@@ -92,7 +92,7 @@ static void vncws_handshake_done(Object *source,
vnc_client_error(vs);
} else {
VNC_DEBUG("Websock handshake complete, starting VNC protocol\n");
- vnc_init_state(vs);
+ vnc_start_protocol(vs);
vs->ioc_tag = qio_channel_add_watch(
vs->ioc, G_IO_IN, vnc_client_io, vs, NULL);
}