Skip to content

Commit 0a3418b

Browse files
committed
jfvnc : fix NPE
1 parent b27eb86 commit 0a3418b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

projects/jfvnc/src/Main.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public static void main(String args[]) {
1111
String connString;
1212
if (args.length != 1) {
1313
connString = JF.getString("Enter VNC Server host[:port]", null);
14+
if (connString == null) return;
1415
} else {
1516
connString = args[0];
1617
}

0 commit comments

Comments
 (0)