From rev 1.373, releasing the mutex means connection_close() may get called

from another thread. Drop the assert, just return instead.
This commit is contained in:
Howard Chu 2006-10-17 19:31:42 +00:00
parent 40a893a07e
commit 354e90a0d9

View file

@ -853,8 +853,11 @@ connection_close( Connection *c )
assert( connections != NULL );
assert( c != NULL );
if ( c->c_conn_state != SLAP_C_CLOSING )
return;
assert( c->c_struct_state == SLAP_C_USED );
assert( c->c_conn_state == SLAP_C_CLOSING );
/* NOTE: c_mutex should be locked by caller */