#ifdef NEW_LOGGING
LDAP_LOG(( "backend", LDAP_LEVEL_DETAIL1,
- "attr_index_config: index %s 0x%04x\n",
+ "attr_index_config: index %s 0x%04lx\n",
ad->ad_cname.bv_val, mask ));
#else
- Debug( LDAP_DEBUG_CONFIG, "index %s 0x%04x\n",
+ Debug( LDAP_DEBUG_CONFIG, "index %s 0x%04lx\n",
ad->ad_cname.bv_val, mask, 0 );
#endif
return LDAP_SUCCESS;
}
-
-static void
-ainfo_free( void *attr )
-{
- free( attr );
-}
-
void
attr_index_destroy( Avlnode *tree )
{
- avl_free( tree, ainfo_free );
+ avl_free( tree, free );
}