(krb5_get_in_tkt): only print error text is there's one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2359 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -310,7 +310,9 @@ krb5_get_in_tkt(krb5_context context,
|
||||
krb5_data_free(&resp);
|
||||
if (ret2 == 0) {
|
||||
/* XXX */
|
||||
fprintf (stderr, "get_in_tkt: KRB_ERROR: %s\n", *(error.e_text));
|
||||
if (error.e_text)
|
||||
fprintf (stderr,
|
||||
"get_in_tkt: KRB_ERROR: %s\n", *(error.e_text));
|
||||
return error.error_code;
|
||||
}
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user