From fbe44c195d9b5fee1e891793f4bf1cc196ba96ca Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Wed, 17 Nov 1999 18:59:41 +0000 Subject: [PATCH] Use get_supported_extension() accessor instead of supportedextensions[] extern. --- servers/slapd/root_dse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5