Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
389f3d9d
Commit
389f3d9d
authored
Nov 16, 2021
by
Howard Chu
Committed by
Quanah Gibson-Mount
Nov 17, 2021
Browse files
ITS
#9745
more for prev commit
parent
a2300c0a
Pipeline
#3803
passed with stage
in 50 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/main.c
View file @
389f3d9d
...
...
@@ -94,6 +94,10 @@ struct signal_handler {
{
0
,
NULL
}
};
/* in logging.c */
extern
char
*
serverName
;
extern
int
slap_debug_orig
;
/*
* when more than one lloadd is running on one machine, each one might have
* it's own LOCAL for syslogging and must have its own pid/args files
...
...
@@ -367,7 +371,6 @@ main( int argc, char **argv )
char
*
configfile
=
NULL
;
char
*
configdir
=
NULL
;
char
*
serverName
;
int
serverMode
=
SLAP_SERVER_MODE
;
char
**
debug_unknowns
=
NULL
;
...
...
@@ -601,6 +604,7 @@ unhandled_option:;
ber_set_option
(
NULL
,
LBER_OPT_DEBUG_LEVEL
,
&
slap_debug
);
ldap_set_option
(
NULL
,
LDAP_OPT_DEBUG_LEVEL
,
&
slap_debug
);
ldif_debug
=
slap_debug
;
slap_debug_orig
=
slap_debug
;
if
(
version
)
{
fprintf
(
stderr
,
"%s
\n
"
,
Versionstr
);
...
...
@@ -833,7 +837,7 @@ unhandled_option:;
#ifndef HAVE_WINSOCK
if
(
!
no_detach
)
{
write
(
waitfds
[
1
],
"1"
,
1
);
(
void
)
!
write
(
waitfds
[
1
],
"1"
,
1
);
close
(
waitfds
[
1
]
);
}
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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