]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Sat, 1 Sep 2007 15:47:23 +0000 (15:47 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 1 Sep 2007 15:47:23 +0000 (15:47 +0000)
servers/slapd/overlays/retcode.c

index 9b7c2cd35cfa0ad080c1a3993e87f514ced67e2a..e7639befa832952fb013629c4acfc3d3f8519a67 100644 (file)
@@ -1374,9 +1374,7 @@ retcode_initialize( void )
                        return code;
                }
 
-#ifndef LDAP_DEVEL
                (*retcode_at[ i ].ad)->ad_type->sat_flags |= SLAP_AT_HIDE;
-#endif /* LDAP_DEVEL */
        }
 
        for ( i = 0; retcode_oc[ i ].desc != NULL; i++ ) {
@@ -1387,9 +1385,7 @@ retcode_initialize( void )
                        return code;
                }
 
-#ifndef LDAP_DEVEL
                (*retcode_oc[ i ].oc)->soc_flags |= SLAP_OC_HIDE;
-#endif /* LDAP_DEVEL */
        }
 
        retcode.on_bi.bi_type = "retcode";