(krb5_get_err_text): if neither of com_right nor strerror finds the
error-code, return Unknown error. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14135 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -514,6 +514,8 @@ krb5_get_err_text(krb5_context context, krb5_error_code code)
|
||||
p = com_right(context->et_list, code);
|
||||
if(p == NULL)
|
||||
p = strerror(code);
|
||||
if (p == NULL)
|
||||
p = "Unknown error";
|
||||
return p;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user