projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug fix: line discipline selection is not enabled until after ssh
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
fddb68d
..
3cfab60
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-1628,6
+1628,7
@@
static void ssh1_protocol(unsigned char *in, int inlen, int ispkt) {
ssh_send_ok = 1;
ssh_channels = newtree234(ssh_channelcmp);
+ begin_session();
while (1) {
crReturnV;
if (ispkt) {
@@
-2335,6
+2336,7
@@
static void do_ssh2_authconn(unsigned char *in, int inlen, int ispkt)
* Transfer data!
*/
ssh_send_ok = 1;
+ begin_session();
while (1) {
static int try_send;
crReturnV;