mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
Tweak prev commit, use LDAP_UNAVAILABLE to force early termination
This commit is contained in:
parent
161574b00d
commit
4df4d4f46c
1 changed files with 2 additions and 2 deletions
|
|
@ -1627,10 +1627,10 @@ static int sasl_sc_smatch( Operation *o, SlapReply *rs )
|
|||
|
||||
if (dn_match(sm->dn, &rs->sr_entry->e_nname)) {
|
||||
sm->match = 1;
|
||||
return -1; /* short-circuit the search */
|
||||
return LDAP_UNAVAILABLE; /* short-circuit the search */
|
||||
}
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue