aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-11-05 10:12:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-11-05 16:01:37 +0100
commit382e1737d3467b76e8ade34b96afaae91509002e (patch)
tree8b8d165aae6cc423987e1e23615f96a70c9d4a26 /ui/vnc.c
parentf14c3d85b003d8614144ae67a26157667c1e1245 (diff)
vnc: fix mismerge
Commit "4d77b1f vnc: fix bug: vnc server can't start when 'to' is specified" was rebased incorrectly, fix it. Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Yang Hongyang <hongyang.yang@easystack.cn> Message-id: 1446714738-22400-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'ui/vnc.c')
-rw-r--r--ui/vnc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index a8cce5a45b..369ad7b11d 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3617,8 +3617,6 @@ void vnc_display_open(const char *id, Error **errp)
if (to) {
saddr->u.inet->has_to = true;
- saddr->u.inet->to = to;
- saddr->u.inet->has_to = true;
saddr->u.inet->to = to + 5900;
}
saddr->u.inet->ipv4 = saddr->u.inet->has_ipv4 = has_ipv4;