Bug fix: line discipline selection is not enabled until after ssh
[u/mdw/putty] / raw.c
diff --git a/raw.c b/raw.c
index dd0f64a..f7df52c 100644 (file)
--- a/raw.c
+++ b/raw.c
@@ -131,6 +131,11 @@ static char *raw_init (HWND hwnd, char *host, int port, char **realhost) {
          default: return "WSAAsyncSelect(): unknown error";
        }
 
+    /*
+     * We have no pre-session phase.
+     */
+    begin_session();
+
     return NULL;
 }