Skip to content
Snippets Groups Projects
Commit d3aa0e71 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Bugfix: Missing parens in `status = ldap_pvt_thread_create(...) != 0'

parent 95f65479
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
}
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment