continue;
}
fprintf( stderr, "%s: line %d: duplicate index definition "
- "for attr \"%s\" (ignored)\n",
+ "for attr \"%s\"" SLAPD_CONF_UNKNOWN_IGNORED ".\n",
fname, lineno, attrs[i] );
return LDAP_PARAM_ERROR;
bv.bv_val = ptr;
ber_bvarray_add( bva, &bv );
}
+ return 0;
}
static AttributeDescription addef = { NULL, NULL, BER_BVC("default") };
}
static void
-bdb_attrinfo_free( AttrInfo *ai )
+bdb_attrinfo_free( void *v )
{
+ AttrInfo *ai = v;
#ifdef LDAP_COMP_MATCH
free( ai->ai_cr );
#endif
while (( a2 = al )) {
al = al->next;
avl_delete( &bdb->bi_attrs, a2->ptr, ainfo_cmp );
+ bdb_attrinfo_free( a2->ptr );
ch_free( a2 );
}
}