From a2ee170c2a900523c9a4d498bc86e4122e010567 Mon Sep 17 00:00:00 2001 From: Matthew Hancher Date: Sat, 8 Aug 1998 02:41:31 +0000 Subject: [PATCH] Fri Aug 7 22:39:47 1998 Matthew D Hancher * 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 --- src/appl/gssftp/ftp/ftp.c | 4 ++-- 1 file 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(); -- 2.26.2