mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Use get_supported_extension() accessor instead of supportedextensions[] extern.
This commit is contained in:
parent
e1d1259191
commit
fbe44c195d
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user