- /* ... if there are dynamic objects, delete those expired */
- if ( di->di_num_dynamicObjects > 0 ) {
- /* force deletion of expired entries... */
- be->bd_info = (BackendInfo *)on->on_info;
- rc = dds_expire( thrctx, di );
- be->bd_info = (BackendInfo *)on;
- if ( rc != LDAP_SUCCESS ) {
- rc = 1;
- goto done;
- }
- }
-