From: Howard Chu Date: Sun, 4 Jan 2015 07:20:41 +0000 (+0000) Subject: ITS#8013 fix syncprov_matchops test_filter usage X-Git-Tag: OPENLDAP_REL_ENG_2_4_41~157 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44a8ab7143179974ec2b54995ebf13b2a40f111c;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 e15020e88a..e514892966 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1312,8 +1312,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",