Skip to content

Commit

Permalink
Viewer: Code formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dcommander committed Aug 7, 2024
1 parent ec53aeb commit 9f92916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/com/turbovnc/vncviewer/CConn.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public CConn(VncViewer viewer_, Socket sock_, Params params_) {
// tunnel.
if (params.udsPath != null && params.via.get() == null &&
!params.tunnel.get() && !server.equals("localhost"))
params.tunnel.set(true);
params.tunnel.set(true);

if (params.udsPath != null && params.via.get() == null &&
!params.tunnel.get())
Expand Down
2 changes: 1 addition & 1 deletion java/com/turbovnc/vncviewer/SessionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final class SessionManager extends Tunnel {
public static final int MAX_SESSIONS = 256;

public static String createSession(Params params) throws Exception {
String host = Hostname.getHost(params.server.get());
String host = Hostname.getHost(params.server.get());

vlog.debug("Opening SSH connection to host " + host);
VncViewer.noExceptionDialog =
Expand Down

0 comments on commit 9f92916

Please sign in to comment.