mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 07:13:41 -05:00
Bugfix: Missing parens in `status = ldap_pvt_thread_create(...) != 0'
This commit is contained in:
parent
95f6547963
commit
d3aa0e7129
2 changed files with 6 additions and 4 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue