From 225e1516f9cc5d2318e9a9cd7b84b69b0f150e43 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 4 Jan 2023 16:34:23 +0100 Subject: [PATCH] Respect given server name No practical difference currently, but let's respect what this API was supposed to do. --- vncviewer/vncviewer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index a7e99ffb..cbe1026e 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -184,7 +184,7 @@ static void mainloop(const char* vncserver, network::Socket* sock) exitMainloop = false; - cc = new CConn(vncServerName, sock); + cc = new CConn(vncserver, sock); while (!exitMainloop) { int next_timer; -- 2.39.5