Revert previous commit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16697 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -111,12 +111,9 @@ krb5_have_error_string(krb5_context context)
|
||||
char * KRB5_LIB_FUNCTION
|
||||
krb5_get_error_message(krb5_context context, krb5_error_code code)
|
||||
{
|
||||
char *str = NULL;
|
||||
char *str;
|
||||
|
||||
HEIMDAL_MUTEX_lock(context->mutex);
|
||||
if (context->error_string)
|
||||
str = strdup(context->error_string);
|
||||
HEIMDAL_MUTEX_unlock(context->mutex);
|
||||
str = krb5_get_error_string(context);
|
||||
if (str)
|
||||
return str;
|
||||
|
||||
|
Reference in New Issue
Block a user