summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-12 15:19:27 +1100
committerDamien Miller <djm@mindrot.org>1999-11-12 15:19:27 +1100
commit6d7b2cd1a32efa2a40c97361065d357a2e60b716 (patch)
tree9c34abc2723760ce00b6f3867d7e0cfbd6a7424e /clientloop.c
parentb5f8927a7e3f25cef4c66603a780176e1b9f6082 (diff)
- Merged yet more changes from OpenBSD CVS
- [auth-rh-rsa.c auth-rhosts.c auth-rsa.c channels.c clientloop.c] [ssh.c ssh.h sshconnect.c sshd.c] make all access to options via 'extern Options options' and 'extern ServerOptions options' respectively; options are no longer passed as arguments: * make options handling more consistent * remove #include "readconf.h" from ssh.h * readconf.h is only included if necessary - [mpaux.c] clear temp buffer - [servconf.c] print _all_ bad options found in configfile
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/clientloop.c b/clientloop.c
index a236ce9b2..410dc54de 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -15,7 +15,7 @@ The main loop for the interactive session (client side).
15*/ 15*/
16 16
17#include "includes.h" 17#include "includes.h"
18RCSID("$Id: clientloop.c,v 1.2 1999/11/11 06:57:39 damien Exp $"); 18RCSID("$Id: clientloop.c,v 1.3 1999/11/12 04:19:27 damien Exp $");
19 19
20#include "xmalloc.h" 20#include "xmalloc.h"
21#include "ssh.h" 21#include "ssh.h"
@@ -24,9 +24,6 @@ RCSID("$Id: clientloop.c,v 1.2 1999/11/11 06:57:39 damien Exp $");
24#include "authfd.h" 24#include "authfd.h"
25#include "readconf.h" 25#include "readconf.h"
26 26
27/* Flag indicating whether quiet mode is on. */
28extern Options options;
29
30/* Flag indicating that stdin should be redirected from /dev/null. */ 27/* Flag indicating that stdin should be redirected from /dev/null. */
31extern int stdin_null_flag; 28extern int stdin_null_flag;
32 29
@@ -764,6 +761,7 @@ void client_process_output(fd_set *writeset)
764 761
765int client_loop(int have_pty, int escape_char_arg) 762int client_loop(int have_pty, int escape_char_arg)
766{ 763{
764 extern Options options;
767 double start_time, total_time; 765 double start_time, total_time;
768 int len; 766 int len;
769 char buf[100]; 767 char buf[100];