]> source.dussan.org Git - tigervnc.git/commitdiff
Respect given server name
authorPierre Ossman <ossman@cendio.se>
Wed, 4 Jan 2023 15:34:23 +0000 (16:34 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 4 Jan 2023 18:17:28 +0000 (19:17 +0100)
No practical difference currently, but let's respect what this API was
supposed to do.

vncviewer/vncviewer.cxx

index a7e99ffba5204672b10d9798b8236eaa93a17373..cbe1026e145d551bf43786793bd491cad1897fad 100644 (file)
@@ -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;