From: Howard Chu Date: Thu, 26 Oct 2006 22:10:12 +0000 (+0000) Subject: Fix prev commit again (ITS#4722) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44475373dbeb913408f378200579aa2e76a59302;p=openldap Fix prev commit again (ITS#4722) --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 2e6421cce5..4662f98ceb 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -835,8 +835,8 @@ void connection_closing( Connection *c, const char *why ) * connection_resched / connection_close before we * finish, but that's OK. */ - ldap_pvt_thread_mutex_unlock( &c->c_mutex ); slapd_clr_write( sd, 1 ); + ldap_pvt_thread_mutex_unlock( &c->c_mutex ); ldap_pvt_thread_mutex_lock( &c->c_write_mutex ); ldap_pvt_thread_mutex_lock( &c->c_mutex ); ldap_pvt_thread_mutex_unlock( &c->c_write_mutex );