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
ingo Voss
OpenLDAP
Commits
d3aa0e71
Commit
d3aa0e71
authored
Mar 09, 1999
by
Hallvard Furuseth
Browse files
Bugfix: Missing parens in `status = ldap_pvt_thread_create(...) != 0'
parent
95f65479
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
d3aa0e71
...
...
@@ -202,8 +202,9 @@ connection_activity(
active_threads
++
;
ldap_pvt_thread_mutex_unlock
(
&
active_threads_mutex
);
if
(
status
=
ldap_pvt_thread_create
(
&
arg
->
co_op
->
o_tid
,
1
,
connection_operation
,
(
void
*
)
arg
)
!=
0
)
{
status
=
ldap_pvt_thread_create
(
&
arg
->
co_op
->
o_tid
,
1
,
connection_operation
,
(
void
*
)
arg
);
if
(
status
!=
0
)
{
Debug
(
LDAP_DEBUG_ANY
,
"ldap_pvt_thread_create failed (%d)
\n
"
,
status
,
0
,
0
);
}
}
servers/slapd/main.c
View file @
d3aa0e71
...
...
@@ -220,8 +220,9 @@ main( int argc, char **argv )
time
(
&
starttime
);
if
(
status
=
ldap_pvt_thread_create
(
&
listener_tid
,
0
,
slapd_daemon
,
(
void
*
)
port
)
!=
0
)
status
=
ldap_pvt_thread_create
(
&
listener_tid
,
0
,
slapd_daemon
,
(
void
*
)
port
);
if
(
status
!=
0
)
{
Debug
(
LDAP_DEBUG_ANY
,
"listener ldap_pvt_thread_create failed (%d)
\n
"
,
status
,
0
,
0
);
...
...
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