]> git.sur5r.net Git - openldap/commitdiff
Use get_supported_extension() accessor instead of supportedextensions[] extern.
authorMark Valence <mrv@openldap.org>
Wed, 17 Nov 1999 18:59:41 +0000 (18:59 +0000)
committerMark Valence <mrv@openldap.org>
Wed, 17 Nov 1999 18:59:41 +0000 (18:59 +0000)
servers/slapd/root_dse.c

index c45a35481ecb2fff977f9ca2f917e473b89e8af7..fbaa475e68b30fbae5fe1001e3ef34ccc60b732e 100644 (file)
@@ -74,7 +74,7 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
        }
 
        /* supportedExtension */
-       for ( i=0; supportedExtensions[i] != NULL; i++ ) {
+       for ( i=0; (val.bv_val = get_supported_extension(i)) != NULL; i++ ) {
                val.bv_val = supportedExtensions[i];
                val.bv_len = strlen( val.bv_val );
                attr_merge( e, "supportedExtension", vals );