Commit 0965781b authored by Howard Chu's avatar Howard Chu
Browse files

Sync with HEAD

parent c25f22f8
......@@ -1158,7 +1158,9 @@ do_syncrepl(
if ( si == NULL )
return NULL;
ldap_pvt_thread_mutex_lock( &si->si_mutex );
/* Don't wait around if there's a previous session still running */
if ( ldap_pvt_thread_mutex_trylock( &si->si_mutex ))
return NULL;
switch( abs( si->si_type ) ) {
case LDAP_SYNC_REFRESH_ONLY:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment