#if defined( SLAPD_SCHEMA_DN )
int
-schema_info( Entry **entry, char **text )
+schema_info( Entry **entry, const char **text )
{
#ifdef SLAPD_SCHEMA_NOT_COMPAT
AttributeDescription *ad_objectClass = slap_schema.si_ad_objectClass;
attr_merge( e, ad_objectClass, vals );
{
- int rc;
#ifdef SLAPD_SCHEMA_NOT_COMPAT
+ int rc;
AttributeDescription *desc = NULL;
#else
char *desc;
{
/* Out of memory, do something about it */
entry_free( e );
- text = "out of memory";
+ *text = "out of memory";
return LDAP_OTHER;
}