=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/clientloop.c 1999/09/26 20:53:34 1.1 +++ src/usr.bin/ssh/clientloop.c 1999/09/28 04:45:36 1.2 @@ -15,10 +15,9 @@ */ #include "includes.h" -RCSID("$Id: clientloop.c,v 1.1 1999/09/26 20:53:34 deraadt Exp $"); +RCSID("$Id: clientloop.c,v 1.2 1999/09/28 04:45:36 provos Exp $"); #include "xmalloc.h" -#include "randoms.h" #include "ssh.h" #include "packet.h" #include "buffer.h" @@ -786,7 +785,7 @@ /* Write as much data as possible. */ len = write(fileno(stderr), buffer_ptr(&stderr_buffer), buffer_len(&stderr_buffer)); - if (len <= 0) + if (len <= 0) { if (errno == EAGAIN) len = 0; else @@ -795,6 +794,7 @@ quit_pending = 1; return; } + } /* Consume printed characters from the buffer. */ buffer_consume(&stderr_buffer, len); }