]> git.sur5r.net Git - openldap/commitdiff
ITS#6677 moved one more #endif, addtional fix for previous commit
authorRalf Haferkamp <ralf@openldap.org>
Tue, 19 Oct 2010 10:47:41 +0000 (10:47 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 19 Oct 2010 10:47:41 +0000 (10:47 +0000)
servers/slapd/overlays/sssvlv.c

index 20eeb15b2f9af153592c8d21e4d3e339a795a171..dcc063ac04c1a429185fd72d9dde8a3994ae7fb4 100644 (file)
@@ -1226,10 +1226,10 @@ static int sssvlv_db_destroy(
 #ifdef SLAP_CONFIG_DELETE
        overlay_unregister_control( be, LDAP_CONTROL_SORTREQUEST );
        overlay_unregister_control( be, LDAP_CONTROL_VLVREQUEST );
-#endif /* SLAP_CONFIG_DELETE */
        if ( ov_count == 0 ) {
                unregister_supported_control( LDAP_CONTROL_SORTREQUEST );
        }
+#endif /* SLAP_CONFIG_DELETE */
 
        if ( si ) {
                ch_free( si );