Browse Source

Increase maximum vnc server name length

tags/v1.9.90
Alexander Duryagin 5 years ago
parent
commit
6790199680
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      java/com/tigervnc/vncviewer/VncViewer.java
  2. 1
    1
      vncviewer/vncviewer.h

+ 1
- 1
java/com/tigervnc/vncviewer/VncViewer.java View 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() {

+ 1
- 1
vncviewer/vncviewer.h View 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();

Loading…
Cancel
Save