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 != -1;
|
||||||
rc = ldap_result(lc->ld, LDAP_RES_ANY, 0, &tv, &res))
|
rc = ldap_result(lc->ld, LDAP_RES_ANY, 0, &tv, &res))
|
||||||
{
|
{
|
||||||
int ab;
|
|
||||||
|
|
||||||
/* check for abandon */
|
/* check for abandon */
|
||||||
ldap_pvt_thread_mutex_lock( &op->o_abandonmutex );
|
if (op->o_abandon) {
|
||||||
ab = op->o_abandon;
|
|
||||||
ldap_pvt_thread_mutex_unlock( &op->o_abandonmutex );
|
|
||||||
|
|
||||||
if (ab) {
|
|
||||||
ldap_abandon(lc->ld, msgid);
|
ldap_abandon(lc->ld, msgid);
|
||||||
rc = 0;
|
rc = 0;
|
||||||
goto finish;
|
goto finish;
|
||||||
|
@ -201,7 +201,6 @@ monitor_subsys_log_modify(
|
|||||||
|
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
ldap_pvt_thread_mutex_unlock( &op->o_abandonmutex );
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* check that the entry still obeys the schema */
|
/* check that the entry still obeys the schema */
|
||||||
|
Loading…
Reference in New Issue
Block a user