]> git.sur5r.net Git - openldap/commitdiff
LDAP_DEVEL cleanup
authorKurt Zeilenga <kurt@openldap.org>
Fri, 18 Aug 2006 06:29:46 +0000 (06:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 18 Aug 2006 06:29:46 +0000 (06:29 +0000)
servers/slapd/back-ldap/distproc.c

index bdb382653223e69faf1b0da123bf36e555ed8f69..b67cb1d7a2c4c6f0b3a3a14563f735187baf3b8f 100644 (file)
@@ -958,6 +958,7 @@ distproc_initialize( void )
                return rc;
        }
 
+#ifdef LDAP_DEVEL
        rc = supported_feature_load( &slap_FEATURE_CANCHAINOPS );
        if ( rc != LDAP_SUCCESS ) {
                Debug( LDAP_DEBUG_ANY, "slapd-distproc: "
@@ -965,6 +966,7 @@ distproc_initialize( void )
                        rc, 0, 0 );
                return rc;
        }
+#endif
 
        rc = register_supported_control( LDAP_CONTROL_X_RETURNCONTREF,
                        SLAP_CTRL_GLOBAL|SLAP_CTRL_ACCESS|SLAP_CTRL_HIDE, NULL,