summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-03-27 17:41:51 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-03-27 17:41:51 +0000
commit6d8de81746c360cd44b19fec644753f737d942df (patch)
tree8f361291af6cc04caeb1f458d12dec4cf9b2acdf /usr.bin
parent0b47be7e2d7bf34795c9ae58d986cefaba5715aa (diff)
allow bigger packets
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 62b6a226953..ef151267c8f 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -16,7 +16,7 @@
*/
#include "includes.h"
-RCSID("$Id: channels.c,v 1.39 2000/03/16 20:56:14 markus Exp $");
+RCSID("$Id: channels.c,v 1.40 2000/03/27 17:41:50 markus Exp $");
#include "ssh.h"
#include "packet.h"
@@ -556,7 +556,7 @@ channel_output_poll()
len = 512;
} else {
/* Keep the packets at reasonable size. */
- if (len > packet_get_maxsize()/2)
+ if (len > packet_get_maxsize())
len = packet_get_maxsize()/2;
}
packet_start(SSH_MSG_CHANNEL_DATA);