return Success instead of unknown error: 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24246 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -172,6 +172,9 @@ krb5_get_error_message(krb5_context context, krb5_error_code code)
|
|||||||
}
|
}
|
||||||
HEIMDAL_MUTEX_unlock(context->mutex);
|
HEIMDAL_MUTEX_unlock(context->mutex);
|
||||||
|
|
||||||
|
if (code == 0)
|
||||||
|
return strdup("Success");
|
||||||
|
|
||||||
cstr = krb5_get_err_text(context, code);
|
cstr = krb5_get_err_text(context, code);
|
||||||
if (cstr)
|
if (cstr)
|
||||||
return strdup(cstr);
|
return strdup(cstr);
|
||||||
|
Reference in New Issue
Block a user