From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PULL 2/4] vnc: fix websocket field in events
Date: Thu, 19 Sep 2019 09:09:16 +0200 [thread overview]
Message-ID: <20190919070918.16059-3-kraxel@redhat.com> (raw)
In-Reply-To: <20190919070918.16059-1-kraxel@redhat.com>
Just need to fill VncClientInfo.websocket in vnc_client_cache_addr().
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1748175
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190904055250.22421-1-kraxel@redhat.com
---
ui/vnc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/vnc.c b/ui/vnc.c
index bd1674602220..bc43c4ca16bf 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -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;
--
2.18.1
next prev parent reply other threads:[~2019-09-19 7:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-19 7:09 [Qemu-devel] [PULL 0/4] Ui 20190919 patches Gerd Hoffmann
2019-09-19 7:09 ` [Qemu-devel] [PULL 1/4] ui/egl: fix framebuffer reads Gerd Hoffmann
2019-09-19 7:09 ` Gerd Hoffmann [this message]
2019-09-19 7:09 ` [Qemu-devel] [PULL 3/4] ui: add an embedded Barrier client Gerd Hoffmann
2019-09-19 7:09 ` [Qemu-devel] [PULL 4/4] vnc: fix memory leak when vnc disconnect Gerd Hoffmann
2019-09-19 7:31 ` Li Qiang
2019-09-19 10:13 ` [Qemu-devel] [PULL 0/4] Ui 20190919 patches Peter Maydell
2019-09-19 11:48 ` Gerd Hoffmann
2019-09-19 17:10 ` Peter Maydell
2019-09-19 21:45 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190919070918.16059-3-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).