mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix prev commit
This commit is contained in:
parent
577619c36e
commit
01cf75383e
1 changed files with 2 additions and 0 deletions
|
|
@ -199,9 +199,11 @@ static long send_ldap_ber(
|
|||
err, sock_errstr(err), 0 );
|
||||
|
||||
if ( err != EWOULDBLOCK && err != EAGAIN ) {
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_write1_mutex );
|
||||
connection_closing( conn, "connection lost on write" );
|
||||
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_mutex );
|
||||
ldap_pvt_thread_mutex_lock( &conn->c_write1_mutex );
|
||||
|
||||
ret = -1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue