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
Quanah Gibson-Mount
OpenLDAP
Commits
66c62841
Commit
66c62841
authored
Sep 30, 2021
by
Howard Chu
Browse files
ITS#6949 fixup loglevel delete, consolidate redundant code
parent
10fb8c0a
Changes
1
Show whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
66c62841
...
...
@@ -4009,12 +4009,7 @@ config_loglevel(ConfigArgs *c) {
i
=
verb_to_mask
(
c
->
line
,
loglevel_ops
);
config_syslog
&=
~
loglevel_ops
[
i
].
mask
;
}
if
(
slapMode
&
SLAP_SERVER_MODE
)
{
slap_debug
=
slap_debug_orig
;
if
(
!
logfile_only
)
ldap_syslog
=
config_syslog
;
}
return
0
;
goto
reset
;
}
for
(
i
=
1
;
i
<
c
->
argc
;
i
++
)
{
...
...
@@ -4041,6 +4036,8 @@ config_loglevel(ConfigArgs *c) {
else
config_syslog
=
0
;
}
reset:
if
(
slapMode
&
SLAP_SERVER_MODE
)
{
if
(
logfile_only
)
{
slap_debug
=
slap_debug_orig
|
config_syslog
;
...
...
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