char *str; HEIMDAL_MUTEX_lock(context->mutex); str = context->error_string; HEIMDAL_MUTEX_unlock(context->mutex); return str != NULL;
return context->error_string != NULL;
krb5_have_error_string(krb5_context context){    char *str;    HEIMDAL_MUTEX_lock(context->mutex);    str = context->error_string;    HEIMDAL_MUTEX_unlock(context->mutex);    return str != NULL;}