From d2e95463e9169d387794231183075ca49f9e6510 Mon Sep 17 00:00:00 2001 From: Marc Horowitz Date: Sat, 24 Oct 1998 05:32:37 +0000 Subject: merge in from mainline git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10991 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftp/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/appl/gssftp/ftp/main.c') diff --git a/src/appl/gssftp/ftp/main.c b/src/appl/gssftp/ftp/main.c index 1eac2ff..685c147 100644 --- a/src/appl/gssftp/ftp/main.c +++ b/src/appl/gssftp/ftp/main.c @@ -175,7 +175,7 @@ main(argc, argv) cpend = 0; /* no pending replies */ proxy = 0; /* proxy not active */ #ifndef NO_PASSIVE_MODE - passivemode = 1; /* passive mode active */ + passivemode = 0; /* passive mode not active */ #endif crflag = 1; /* strip c.r. on ascii gets */ sendport = -1; /* not using ports */ @@ -225,7 +225,8 @@ lostpeer(sig) extern FILE *cout; extern int data; extern char *auth_type; - extern int level; + extern int clevel; + extern int dlevel; if (connected) { if (cout != NULL) { @@ -240,7 +241,7 @@ lostpeer(sig) } connected = 0; auth_type = NULL; - level = PROT_C; + clevel = dlevel = PROT_C; } pswitch(1); if (connected) { @@ -251,7 +252,7 @@ lostpeer(sig) } connected = 0; auth_type = NULL; - level = PROT_C; + clevel = dlevel = PROT_C; } proxflag = 0; pswitch(0); -- cgit v1.1