diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: ssh.c,v 1.163 2002/02/07 09:35:39 markus Exp $"); | 42 | RCSID("$OpenBSD: ssh.c,v 1.164 2002/02/14 23:28:00 markus Exp $"); |
43 | 43 | ||
44 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
45 | #include <openssl/err.h> | 45 | #include <openssl/err.h> |
@@ -1145,9 +1145,9 @@ ssh_session2_open(void) | |||
1145 | 1145 | ||
1146 | window = CHAN_SES_WINDOW_DEFAULT; | 1146 | window = CHAN_SES_WINDOW_DEFAULT; |
1147 | packetmax = CHAN_SES_PACKET_DEFAULT; | 1147 | packetmax = CHAN_SES_PACKET_DEFAULT; |
1148 | if (!tty_flag) { | 1148 | if (tty_flag) { |
1149 | window *= 2; | 1149 | window >>= 1; |
1150 | packetmax *=2; | 1150 | packetmax >>= 1; |
1151 | } | 1151 | } |
1152 | c = channel_new( | 1152 | c = channel_new( |
1153 | "session", SSH_CHANNEL_OPENING, in, out, err, | 1153 | "session", SSH_CHANNEL_OPENING, in, out, err, |