Commit eb248103 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix -USLAPD_SCHEMA_NOT_COMPAT

parent df96737b
......@@ -97,6 +97,7 @@ int slap_bv2ad(
char **tokens;
assert( ad != NULL );
assert( *ad == NULL ); /* temporary */
assert( *text != NULL );
if( bv == NULL || bv->bv_len == 0 ) {
......
......@@ -98,9 +98,10 @@ get_filter(
break;
}
assert( f->f_ava != NULL );
#ifdef SLAPD_SCHEMA_NOT_COMPAT
assert( f->f_ava != NULL );
*fstr = ch_malloc( sizeof("(=)")
+ f->f_av_desc->ad_cname->bv_len
+ f->f_av_value->bv_len );
......
......@@ -102,7 +102,7 @@ schema_info( Entry **entry, char **text )
{
/* Out of memory, do something about it */
entry_free( e );
text = "out of memory";
*text = "out of memory";
return LDAP_OTHER;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment