From 02694b1ed7b1ce29a2aaa89ba1d9bc00d03f251e Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 10 Jun 1995 04:04:41 +0000 Subject: [PATCH] Make sure the status return from krb5_fcc_store_principal is reflected in the return status of krb5_fcc_initialize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6030 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/ChangeLog | 6 ++++++ src/lib/krb5/ccache/file/fcc_init.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog index 685285d5b..931221590 100644 --- a/src/lib/krb5/ccache/file/ChangeLog +++ b/src/lib/krb5/ccache/file/ChangeLog @@ -1,3 +1,9 @@ +Sat Jun 10 00:01:23 1995 Theodore Y. Ts'o + + * fcc_init.c (krb5_fcc_initialize): Make sure the status return + from krb5_fcc_store_principal is reflected in the return + status of krb5_fcc_initialize(). + Fri Jun 9 19:30:01 1995 * configure.in: Remove standardized set of autoconf macros, which diff --git a/src/lib/krb5/ccache/file/fcc_init.c b/src/lib/krb5/ccache/file/fcc_init.c index c8e4dce37..8f661bab3 100644 --- a/src/lib/krb5/ccache/file/fcc_init.c +++ b/src/lib/krb5/ccache/file/fcc_init.c @@ -63,7 +63,7 @@ krb5_fcc_initialize(context, id, princ) MAYBE_CLOSE(context, id, kret); return kret; } - krb5_fcc_store_principal(context, id, princ); + kret = krb5_fcc_store_principal(context, id, princ); MAYBE_CLOSE(context, id, kret); krb5_change_cache (); -- 2.26.2