mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Remove misplaced asserts. connection_resched changes connection state
to UNUSED without holding connections mutex. It's not safe for connection_init to check connection state until after acquires the c_mutex.
This commit is contained in:
parent
d420fdf784
commit
0afcadc4dd
1 changed files with 0 additions and 2 deletions
|
|
@ -348,8 +348,6 @@ long connection_init(
|
|||
#endif
|
||||
|
||||
assert( c != NULL );
|
||||
assert( c->c_struct_state != SLAP_C_USED );
|
||||
assert( c->c_conn_state == SLAP_C_INVALID );
|
||||
|
||||
if( c->c_struct_state == SLAP_C_UNINITIALIZED ) {
|
||||
c->c_dn = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue