mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 14:23:34 -05:00
ITS#10160 Make the == precedence explicit, helps with readability too
This commit is contained in:
parent
7e10a4a62f
commit
732649eca6
1 changed files with 1 additions and 1 deletions
|
|
@ -752,7 +752,7 @@ constraint_violation( constraint *c, struct berval *bv, Operation *op )
|
|||
return rc; /* unexpected error */
|
||||
}
|
||||
|
||||
if (found ^ c->type == CONSTRAINT_URI)
|
||||
if (found ^ (c->type == CONSTRAINT_URI) )
|
||||
return LDAP_CONSTRAINT_VIOLATION; /* constraint violation */
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue