diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 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 77ac18bc1b2f
children 265a4733edcb
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();
     }