Fix SLAP_CONFIG_DELETE ifdef (already fixed in RE24)

This commit is contained in:
Quanah Gibson-Mount 2011-11-04 15:21:34 -07:00
parent e438122448
commit e625581af3

View file

@ -219,12 +219,12 @@ noopsrch_db_destroy( BackendDB *be, ConfigReply *cr )
#ifdef SLAP_CONFIG_DELETE
overlay_unregister_control( be, LDAP_CONTROL_X_NOOPSRCH );
#endif /* SLAP_CONFIG_DELETE */
if ( --noopsrch_cnt == 0 ) {
unregister_supported_control( LDAP_CONTROL_X_NOOPSRCH );
}
#endif /* SLAP_CONFIG_DELETE */
return 0;
}