From: Mark Valence Date: Wed, 17 Nov 1999 18:59:41 +0000 (+0000) Subject: Use get_supported_extension() accessor instead of supportedextensions[] extern. X-Git-Tag: UCDATA_2_4~208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fbe44c195d9b5fee1e891793f4bf1cc196ba96ca;p=openldap Use get_supported_extension() accessor instead of supportedextensions[] extern. --- diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index c45a35481e..fbaa475e68 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -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 );