Received: from eggs.gnu.org ([2001:4830:134:3::10]:55203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuGav-0005q0-HW for qemu-devel@nongnu.org; Thu, 05 Nov 2015 04:12:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuGaq-00005m-It for qemu-devel@nongnu.org; Thu, 05 Nov 2015 04:12:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuGaq-00005f-DB for qemu-devel@nongnu.org; Thu, 05 Nov 2015 04:12:28 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id D2E3091DBD for ; Thu, 5 Nov 2015 09:12:27 +0000 (UTC) From: Gerd Hoffmann Date: Thu, 5 Nov 2015 10:12:18 +0100 Message-Id: <1446714738-22400-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH] vnc: fix mismerge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, Gerd Hoffmann Commit "4d77b1f vnc: fix bug: vnc server can't start when 'to' is specified" was rebased incorrectly, fix it. Reported-by: Markus Armbruster Signed-off-by: Gerd Hoffmann --- ui/vnc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index a47f2b3..a4fc024 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -3571,8 +3571,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; -- 1.8.3.1