diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/clients/klist/ChangeLog | 5 | ||||
| -rw-r--r-- | src/clients/klist/klist.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index e09e58ad3..3150210e4 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 11 23:38:53 1998 Matthew D Hancher <mdh@mit.edu> + + * klist.c (do_ccache): Properly check the return value of + krb5_cc_set_flags() so the right thing happens if there is no CC. + Mon Mar 30 17:08:07 1998 Ezra Peisach <epeisach@kangaroo.mit.edu> * klist.c (main): Exit with a 0 exit status if everything okay diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index c19efe0c1..6d05f822d 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -276,7 +276,7 @@ void do_ccache(name) flags = 0; /* turns off OPENCLOSE mode */ if ((code = krb5_cc_set_flags(kcontext, cache, flags))) { - if (code == ENOENT) { + if (code == KRB5_FCC_NOFILE) { if (!status_only) com_err(progname, code, "(ticket cache %s)", krb5_cc_get_name(kcontext, cache)); |
