(krb5_get_in_tkt): interpret the error number in KRB-ERROR

correctly.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2590 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-24 07:20:49 +00:00
parent 6a435e77ea
commit 99c434bf0d

View File

@@ -366,7 +366,7 @@ krb5_get_in_tkt(krb5_context context,
fprintf (stderr,
"get_in_tkt: KRB_ERROR: %s\n", *(error.e_text));
free_KRB_ERROR (&error);
return error.error_code;
return error.error_code + KRB5KDC_ERR_NONE;
}
return ret;
}