Bug fix: line discipline selection is not enabled until after ssh
[u/mdw/putty] / telnet.c
index 75435c6..5e6ba3c 100644 (file)
--- a/telnet.c
+++ b/telnet.c
@@ -583,6 +583,12 @@ static char *telnet_init (HWND hwnd, char *host, int port, char **realhost) {
      * Set up SYNCH state.
      */
     in_synch = FALSE;
+
+    /*
+     * We have no pre-session phase.
+     */
+    begin_session();
+
     return NULL;
 }