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
6bd6a7cf
Commit
6bd6a7cf
authored
Jan 12, 1999
by
Kurt Zeilenga
Browse files
Report exit status of pthread_create()
parent
956fe808
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/main.c
View file @
6bd6a7cf
...
...
@@ -200,10 +200,11 @@ main( int argc, char **argv )
time
(
&
starttime
);
if
(
pthread_create
(
&
listener_tid
,
NULL
,
slapd_daemon
,
(
void
*
)
port
)
!=
0
)
{
if
(
status
=
pthread_create
(
&
listener_tid
,
NULL
,
slapd_daemon
,
(
void
*
)
port
)
!=
0
)
{
Debug
(
LDAP_DEBUG_ANY
,
"listener pthread_create failed
\n
"
,
0
,
0
,
0
);
"listener pthread_create failed
(%d)
\n
"
,
status
,
0
,
0
);
exit
(
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