Skip to content
Snippets Groups Projects
Commit c9a28026 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Don't have connection_state_closing() lock connection. Already locked

by callers.
parent 51fba264
No related branches found
No related tags found
No related merge requests found
......@@ -364,13 +364,12 @@ connection_destroy( Connection *c )
int connection_state_closing( Connection *c )
{
/* connection must be locked by caller */
int state;
assert( c != NULL );
assert( c->c_struct_state == SLAP_C_USED );
ldap_pvt_thread_mutex_lock( &c->c_mutex );
state = c->c_conn_state;
ldap_pvt_thread_mutex_unlock( &c->c_mutex );
assert( state != SLAP_C_INVALID );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment