aboutsummaryrefslogtreecommitdiff
path: root/src/appl/gssftp/ftp/main.c
diff options
context:
space:
mode:
authorMarc Horowitz <marc@mit.edu>1998-10-24 05:32:37 +0000
committerMarc Horowitz <marc@mit.edu>1998-10-24 05:32:37 +0000
commitd2e95463e9169d387794231183075ca49f9e6510 (patch)
tree2ede839234e4ac3a4d0506a8fb8335684614ec36 /src/appl/gssftp/ftp/main.c
parent083ec80244ce2b0de58ecb4a879f915b8ae006f3 (diff)
downloadkrb5-d2e95463e9169d387794231183075ca49f9e6510.zip
krb5-d2e95463e9169d387794231183075ca49f9e6510.tar.gz
krb5-d2e95463e9169d387794231183075ca49f9e6510.tar.bz2
merge in from mainline
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10991 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gssftp/ftp/main.c')
-rw-r--r--src/appl/gssftp/ftp/main.c9
1 files changed, 5 insertions, 4 deletions
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);