From: Howard Chu Date: Sun, 4 Jan 2015 07:20:41 +0000 (+0000) Subject: ITS#8013 fix syncprov_matchops test_filter usage X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b2438fbecf56cc6dd91f5087e070b69fe58c378;p=openldap ITS#8013 fix syncprov_matchops test_filter usage --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 5ef2eaae89..bd625c72df 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1310,8 +1310,8 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit ) phase otherwise (ITS#6555) */ op2.ors_filter = ss->s_op->ors_filter->f_and->f_next; } - ldap_pvt_thread_mutex_unlock( &ss->s_mutex ); rc = test_filter( &op2, e, op2.ors_filter ); + ldap_pvt_thread_mutex_unlock( &ss->s_mutex ); } Debug( LDAP_DEBUG_TRACE, "syncprov_matchops: sid %03x fscope %d rc %d\n",