Make sure the status return from krb5_fcc_store_principal is reflected
authorTheodore Tso <tytso@mit.edu>
Sat, 10 Jun 1995 04:04:41 +0000 (04:04 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 10 Jun 1995 04:04:41 +0000 (04:04 +0000)
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
src/lib/krb5/ccache/file/fcc_init.c

index 685285d5b0462deddda6e5b06f642fedc25ab94b..93122159059c052a837956af4bba6af1601fd931 100644 (file)
@@ -1,3 +1,9 @@
+Sat Jun 10 00:01:23 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * 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    <tytso@rsx-11.mit.edu>
 
        * configure.in: Remove standardized set of autoconf macros, which
index c8e4dce3790f3ee7ff664690298d585e95218300..8f661bab35f550e1b3a3b3a11034122d2bbd7809 100644 (file)
@@ -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 ();