mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#10160 Make the == precedence explicit, helps with readability too
This commit is contained in:
parent
d6b8a98776
commit
0c75e51b58
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