mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,android] fix wrong type of variable
This commit is contained in:
@@ -361,8 +361,9 @@ public class LibFreeRDP
|
||||
ManualBookmark.GatewaySettings gateway =
|
||||
bookmark.<ManualBookmark>get().getGatewaySettings();
|
||||
|
||||
String carg =
|
||||
String.format("/gateway:g:%s:%d", gateway.getHostname(), gateway.getPort());
|
||||
StringBuilder carg = new StringBuilder();
|
||||
carg.append(
|
||||
String.format("/gateway:g:%s:%d", gateway.getHostname(), gateway.getPort()));
|
||||
|
||||
arg = gateway.getUsername();
|
||||
if (!arg.isEmpty())
|
||||
@@ -377,9 +378,9 @@ public class LibFreeRDP
|
||||
arg = gateway.getPassword();
|
||||
if (!arg.isEmpty())
|
||||
{
|
||||
cargs.append(",p:" + arg);
|
||||
carg.append(",p:" + arg);
|
||||
}
|
||||
args.add(String.format("/gateway:g:%s:%d", gateway.getHostname(), gateway.getPort()));
|
||||
args.add(carg.toString());
|
||||
}
|
||||
|
||||
/* 0 ... local
|
||||
|
||||
Reference in New Issue
Block a user