summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthew Hancher <mdh@mit.edu>1998-08-08 02:41:31 +0000
committerMatthew Hancher <mdh@mit.edu>1998-08-08 02:41:31 +0000
commita2ee170c2a900523c9a4d498bc86e4122e010567 (patch)
tree751e13e439d40dc454d8682ccc49ad04856b8acc /src
parentdf61707af611561e295f2f874b53d74c10fc6d7e (diff)
downloadkrb5-a2ee170c2a900523c9a4d498bc86e4122e010567.tar.gz
krb5-a2ee170c2a900523c9a4d498bc86e4122e010567.tar.xz
krb5-a2ee170c2a900523c9a4d498bc86e4122e010567.zip
Fri Aug 7 22:39:47 1998 Matthew D Hancher <mdh@mit.edu>
* ftp.c (do_auth): Make verbosity not disappear if GSSAPI fails. (getreply): Move 'S:' and 'P:' from verbose to debug. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10790 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/appl/gssftp/ftp/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/appl/gssftp/ftp/ftp.c b/src/appl/gssftp/ftp/ftp.c
index 85e01b5dd..66f1a1f26 100644
--- a/src/appl/gssftp/ftp/ftp.c
+++ b/src/appl/gssftp/ftp/ftp.c
@@ -638,7 +638,7 @@ getreply(expecteof)
krb_get_err_text(kerror));
n = '5';
} else {
- if (verbose) printf("%c:", safe ? 'S' : 'P');
+ if (debug) printf("%c:", safe ? 'S' : 'P');
memcpy(ibuf, msg_data.app_data,
msg_data.app_length);
strcpy(&ibuf[msg_data.app_length], "\r\n");
@@ -1839,7 +1839,7 @@ char* gss_services[] = { "ftp", "host", 0 };
do_auth()
{
extern int setsafe();
- int oldverbose;
+ int oldverbose = verbose;
#ifdef KRB5_KRB4_COMPAT
char *service, inst[INST_SZ];
u_long cksum, checksum = (u_long) getpid();