mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 19:49:35 -05:00
Add additional assert in connection get for race debugging.
This commit is contained in:
parent
f3b3c68792
commit
0dda34c9e4
1 changed files with 1 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ static Connection* connection_get( int s )
|
|||
|
||||
ldap_pvt_thread_mutex_lock( &c->c_mutex );
|
||||
|
||||
assert( c->c_struct_state == SLAP_C_USED );
|
||||
assert( c->c_conn_state != SLAP_C_INVALID );
|
||||
assert( ber_pvt_sb_in_use( c->c_sb ) );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue