* klist.c (do_ccache): Properly check the return value of
krb5_cc_set_flags() so the right thing happens if there is no CC.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10802
dc483132-0cff-0310-8789-
dd5450dbe970
+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
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));