mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Revert 1.410, i.e back to lock again. ITS#5725 fixes the lock situation.
This commit is contained in:
parent
d2c08ebb4f
commit
c5f584e62b
@ -1214,9 +1214,8 @@ do_syncrepl(
|
||||
if ( si == NULL )
|
||||
return NULL;
|
||||
|
||||
/* There must never be more than one instance active */
|
||||
if ( ldap_pvt_thread_mutex_trylock( &si->si_mutex ))
|
||||
return NULL;
|
||||
/* There will never be more than one instance active */
|
||||
ldap_pvt_thread_mutex_lock( &si->si_mutex );
|
||||
|
||||
switch( abs( si->si_type ) ) {
|
||||
case LDAP_SYNC_REFRESH_ONLY:
|
||||
|
Loading…
Reference in New Issue
Block a user