check return value

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2879 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-10 20:14:06 +00:00
parent 74a6dbe5b3
commit 4203cbc27e

View File

@@ -237,9 +237,11 @@ krb5_get_kdc_cred(krb5_context context,
memset(&rep, 0, sizeof(rep));
if(decode_TGS_REP(resp.data, resp.length, &rep.part1, &len) == 0){
krb5_copy_creds_contents (context,
in_creds,
*out_creds);
ret = krb5_copy_creds_contents (context,
in_creds,
*out_creds);
if(ret)
goto out;
#if 0
krb5_copy_principal (context,