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

private static VncViewer applet; private static VncViewer applet;


private String defaultServerName; private String defaultServerName;
int VNCSERVERNAMELEN = 64;
int VNCSERVERNAMELEN = 256;
CharBuffer vncServerName = CharBuffer.allocate(VNCSERVERNAMELEN); CharBuffer vncServerName = CharBuffer.allocate(VNCSERVERNAMELEN);


public static void setLookAndFeel() { public static void setLookAndFeel() {

+ 1
- 1
vncviewer/vncviewer.h View File

#ifndef __VNCVIEWER_H__ #ifndef __VNCVIEWER_H__
#define __VNCVIEWER_H__ #define __VNCVIEWER_H__


#define VNCSERVERNAMELEN 64
#define VNCSERVERNAMELEN 256


void exit_vncviewer(const char *error = NULL); void exit_vncviewer(const char *error = NULL);
bool should_exit(); bool should_exit();

Loading…
Cancel
Save