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
James Rouzier
OpenLDAP
Commits
15ac53a7
Commit
15ac53a7
authored
Oct 04, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Oct 05, 2021
Browse files
ITS#6949 Remove dead code from lloadd
parent
ce073522
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/config.c
View file @
15ac53a7
...
...
@@ -2062,10 +2062,6 @@ loglevel_print( FILE *out )
loglevel_ops
[
i
].
word
.
bv_val
,
mask
,
mask
);
}
fprintf
(
out
,
"
\n
NOTE: custom log subsystems may be later installed "
"by specific code
\n\n
"
);
return
0
;
}
...
...
@@ -2080,24 +2076,6 @@ config_loglevel( ConfigArgs *c )
loglevel_init
();
}
if
(
c
->
op
==
SLAP_CONFIG_EMIT
)
{
/* Get default or commandline slapd setting */
if
(
ldap_syslog
&&
!
config_syslog
)
config_syslog
=
ldap_syslog
;
return
loglevel2bvarray
(
config_syslog
,
&
c
->
rvalue_vals
);
}
else
if
(
c
->
op
==
LDAP_MOD_DELETE
)
{
if
(
!
c
->
line
)
{
config_syslog
=
0
;
}
else
{
i
=
verb_to_mask
(
c
->
line
,
loglevel_ops
);
config_syslog
&=
~
loglevel_ops
[
i
].
mask
;
}
if
(
slapMode
&
SLAP_SERVER_MODE
)
{
ldap_syslog
=
config_syslog
;
}
return
0
;
}
for
(
i
=
1
;
i
<
c
->
argc
;
i
++
)
{
int
level
;
...
...
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