mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
cleanup
This commit is contained in:
parent
f199cff008
commit
25166f8166
@ -1984,11 +1984,14 @@ integerBitOrMatch(
|
||||
|
||||
/* safe to assume integers are NUL terminated? */
|
||||
lValue = SLAP_STRTOL(value->bv_val, NULL, 10);
|
||||
if(( lValue == SLAP_LONG_MIN || lValue == SLAP_LONG_MAX ) && errno == ERANGE ) {
|
||||
if(( lValue == SLAP_LONG_MIN || lValue == SLAP_LONG_MAX ) &&
|
||||
errno == ERANGE )
|
||||
{
|
||||
return LDAP_CONSTRAINT_VIOLATION;
|
||||
}
|
||||
|
||||
lAssertedValue = SLAP_STRTOL(((struct berval *)assertedValue)->bv_val, NULL, 10);
|
||||
lAssertedValue = SLAP_STRTOL( ((struct berval *)assertedValue)->bv_val,
|
||||
NULL, 10);
|
||||
if(( lAssertedValue == SLAP_LONG_MIN || lAssertedValue == SLAP_LONG_MAX )
|
||||
&& errno == ERANGE )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user