Received: from eggs.gnu.org ([2001:4830:134:3::10]:39241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCVJF-0001b2-R9 for qemu-devel@nongnu.org; Mon, 13 Jun 2016 13:05:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCVJE-0001vF-SS for qemu-devel@nongnu.org; Mon, 13 Jun 2016 13:05:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCVJE-0001up-Ms for qemu-devel@nongnu.org; Mon, 13 Jun 2016 13:05:56 -0400 From: Stefan Hajnoczi Date: Mon, 13 Jun 2016 18:05:28 +0100 Message-Id: <1465837535-30067-9-git-send-email-stefanha@redhat.com> In-Reply-To: <1465837535-30067-1-git-send-email-stefanha@redhat.com> References: <1465837535-30067-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v3 08/15] ui: fix regression in printing VNC host/port on startup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , jjherne@linux.vnet.ibm.com, Fam Zheng , Paolo Bonzini , Jeff Cody , mreitz@redhat.com, "Daniel P. Berrange" , Gerd Hoffmann From: "Daniel P. Berrange" If VNC is chosen as the compile time default display backend, QEMU will print the host/port it listens on at startup. Previously this would look like VNC server running on '::1:5900' but in 04d2529da27db512dcbd5e99d0e26d333f16efcc the ':' was accidentally replaced with a ';'. This the ':' back. Reported-by: Dr. David Alan Gilbert Signed-off-by: Daniel P. Berrange Reviewed-by: Eric Blake Message-id: 1465382576-25552-1-git-send-email-berrange@redhat.com Signed-off-by: Gerd Hoffmann --- ui/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/vnc.c b/ui/vnc.c index 942cfb9..95e4db7 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -3223,7 +3223,7 @@ char *vnc_display_local_addr(const char *id) qapi_free_SocketAddress(addr); return NULL; } - ret = g_strdup_printf("%s;%s", addr->u.inet.data->host, + ret = g_strdup_printf("%s:%s", addr->u.inet.data->host, addr->u.inet.data->port); qapi_free_SocketAddress(addr); -- 2.5.5