Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
4f281948
Commit
4f281948
authored
Jun 11, 2005
by
Howard Chu
Browse files
Fix modload/modpath, allow either/both to be empty
parent
8fe75761
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
4f281948
...
...
@@ -648,8 +648,8 @@ static ConfigOCs cf_ocs[] = {
"NAME 'olcModuleList' "
"DESC 'OpenLDAP dynamic module info' "
"SUP olcConfig STRUCTURAL "
"M
UST (
olcModulePath $ olcModuleLoad )
"
"MAY cn )"
,
Cft_Module
,
NULL
,
cfAddModule
},
"M
AY ( cn $
olcModulePath $ olcModuleLoad )
)"
,
Cft_Module
,
NULL
,
cfAddModule
},
#endif
{
NULL
,
0
,
NULL
}
};
...
...
@@ -833,7 +833,8 @@ config_generic(ConfigArgs *c) {
break
;
case
CFG_MODPATH
:
{
ModPaths
*
mp
=
c
->
private
;
value_add_one
(
&
c
->
rvalue_vals
,
&
mp
->
mp_path
);
if
(
!
BER_BVISNULL
(
&
mp
->
mp_path
))
value_add_one
(
&
c
->
rvalue_vals
,
&
mp
->
mp_path
);
rc
=
c
->
rvalue_vals
?
0
:
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment