artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2530bb4
)
allow bigger packets
author
markus
<markus@openbsd.org>
Mon, 27 Mar 2000 17:41:50 +0000
(17:41 +0000)
committer
markus
<markus@openbsd.org>
Mon, 27 Mar 2000 17:41:50 +0000
(17:41 +0000)
usr.bin/ssh/channels.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/channels.c
b/usr.bin/ssh/channels.c
index
62b6a22
..
ef15126
100644
(file)
--- 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);