]> source.dussan.org Git - tigervnc.git/commitdiff
Increase maximum vnc server name length 700/head
authorAlexander Duryagin <aduryagin@gmail.com>
Wed, 15 Aug 2018 16:25:54 +0000 (19:25 +0300)
committerAlexander Duryagin <aduryagin@gmail.com>
Wed, 15 Aug 2018 16:25:54 +0000 (19:25 +0300)
java/com/tigervnc/vncviewer/VncViewer.java
vncviewer/vncviewer.h

index 93d3f3be8f2ca785132da58ab9a29db4feec9b24..f96e2ec7adc92dc2a7a6d5184c877fe88bfa2966 100644 (file)
@@ -85,7 +85,7 @@ public class VncViewer extends javax.swing.JApplet
   private static VncViewer applet;
 
   private String defaultServerName;
-  int VNCSERVERNAMELEN = 64;
+  int VNCSERVERNAMELEN = 256;
   CharBuffer vncServerName = CharBuffer.allocate(VNCSERVERNAMELEN);
 
   public static void setLookAndFeel() {
index c98c2e94b8d2490feb954033ce447b33e5d3d1ab..88aa9332619c50ea1fea3a5c5385bccce658a0d2 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef __VNCVIEWER_H__
 #define __VNCVIEWER_H__
 
-#define VNCSERVERNAMELEN 64
+#define VNCSERVERNAMELEN 256
 
 void exit_vncviewer(const char *error = NULL);
 bool should_exit();