summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-20 07:42:21 +1000
committerDamien Miller <djm@mindrot.org>2000-04-20 07:42:21 +1000
commit166fca8894807de71b741a779330bd23edfec013 (patch)
tree387371567ce5b3c89c52e18f3a22348f1456af8d /clientloop.c
parent3ef692aa05a4b0d94a114be0826d32d0c8f67f1b (diff)
- Sync with OpenBSD CVS:
[clientloop.c login.c serverloop.c ssh-agent.c ssh.h sshconnect.c sshd.c] - pid_t [session.c] - remove bogus chan_read_failed. this could cause data corruption (missing data) at end of a SSH2 session.
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index cc25ca550..0296dac77 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -16,7 +16,7 @@
16 */ 16 */
17 17
18#include "includes.h" 18#include "includes.h"
19RCSID("$Id: clientloop.c,v 1.11 2000/04/16 01:18:41 damien Exp $"); 19RCSID("$Id: clientloop.c,v 1.12 2000/04/19 21:42:21 damien Exp $");
20 20
21#include "xmalloc.h" 21#include "xmalloc.h"
22#include "ssh.h" 22#include "ssh.h"
@@ -471,7 +471,8 @@ client_process_net_input(fd_set * readset)
471void 471void
472client_process_input(fd_set * readset) 472client_process_input(fd_set * readset)
473{ 473{
474 int len, pid; 474 int len;
475 pid_t pid;
475 char buf[8192], *s; 476 char buf[8192], *s;
476 477
477 /* Read input from stdin. */ 478 /* Read input from stdin. */