Commit 0afcadc4 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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.
parent d420fdf7
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment