Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
25166f81
Commit
25166f81
authored
Jun 11, 2004
by
Kurt Zeilenga
Browse files
cleanup
parent
f199cff0
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
25166f81
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment