mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
ITS#1733 eliminate o_abandonmutex
This commit is contained in:
parent
efecf4e121
commit
98df4006b1
@ -260,14 +260,8 @@ fail:;
|
||||
rc != -1;
|
||||
rc = ldap_result(lc->ld, LDAP_RES_ANY, 0, &tv, &res))
|
||||
{
|
||||
int ab;
|
||||
|
||||
/* check for abandon */
|
||||
ldap_pvt_thread_mutex_lock( &op->o_abandonmutex );
|
||||
ab = op->o_abandon;
|
||||
ldap_pvt_thread_mutex_unlock( &op->o_abandonmutex );
|
||||
|
||||
if (ab) {
|
||||
if (op->o_abandon) {
|
||||
ldap_abandon(lc->ld, msgid);
|
||||
rc = 0;
|
||||
goto finish;
|
||||
|
@ -201,7 +201,6 @@ monitor_subsys_log_modify(
|
||||
|
||||
goto cleanup;
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &op->o_abandonmutex );
|
||||
#endif
|
||||
|
||||
/* check that the entry still obeys the schema */
|
||||
|
Loading…
Reference in New Issue
Block a user