mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
More cleanup
This commit is contained in:
parent
1372e23d3e
commit
3a7830ff01
@ -94,7 +94,8 @@ static ConfigOCs translucentocs[] = {
|
||||
"NAME 'olcTranslucentConfig' "
|
||||
"DESC 'Translucent configuration' "
|
||||
"SUP olcOverlayConfig "
|
||||
"MAY ( olcTranslucentStrict $ olcTranslucentNoGlue ) )",
|
||||
"MAY ( olcTranslucentStrict $ olcTranslucentNoGlue $"
|
||||
" olcTranslucentLocal $ olcTranslucentRemote ) )",
|
||||
Cft_Overlay, translucentcfg, NULL, translucent_cfadd },
|
||||
{ "( OLcfgOvOc:14.2 "
|
||||
"NAME 'olcTranslucentDatabase' "
|
||||
@ -182,6 +183,8 @@ translucent_cf_gen( ConfigArgs *c )
|
||||
an = &ov->remote;
|
||||
|
||||
if ( c->op == SLAP_CONFIG_EMIT ) {
|
||||
if ( !*an )
|
||||
return 1;
|
||||
for ( i = 0; !BER_BVISNULL(&(*an)[i].an_name); i++ ) {
|
||||
value_add_one( &c->rvalue_vals, &(*an)[i].an_name );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user