changeset 121:477cca1e0c15

add more 5250 config items
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Jun 2014 19:00:05 -0700
parents dcac61b6f2e6
children 52b1d0ee27b1
files src/com/five_ten_sg/connectbot/transport/TN5250.java
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Wed Jun 18 18:57:19 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Wed Jun 18 19:00:05 2014 -0700
@@ -258,14 +258,9 @@
     public void connect() {
         screen52  = new Screen5250();
         handler   = new tnvt(screen52, true, false, bridge, manager);
-        String encryption = host.getEncryption5250();
-
-        if ((encryption == null) || (encryption.length() == 0)) encryption = "NONE";
-
         screen52.setVT(handler);
         screen52.setBuffer(buffer);
-        connected = handler.connect(host.getHostname(), host.getPort(), encryption, homeDirectory, buffer);
-
+        connected = handler.connect(host, homeDirectory, buffer);
         if (connected) bridge.onConnected();
     }