diff options
author | Matthew Hancher <mdh@mit.edu> | 1998-08-08 02:41:31 +0000 |
---|---|---|
committer | Matthew Hancher <mdh@mit.edu> | 1998-08-08 02:41:31 +0000 |
commit | a2ee170c2a900523c9a4d498bc86e4122e010567 (patch) | |
tree | 751e13e439d40dc454d8682ccc49ad04856b8acc /src | |
parent | df61707af611561e295f2f874b53d74c10fc6d7e (diff) | |
download | krb5-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.c | 4 |
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(); |