Skip to content
Snippets Groups Projects
Commit 4df4d4f4 authored by Howard Chu's avatar Howard Chu
Browse files

Tweak prev commit, use LDAP_UNAVAILABLE to force early termination

parent 161574b0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment