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
6c3e915c
Commit
6c3e915c
authored
Sep 13, 2000
by
Kurt Zeilenga
Browse files
Fix reversed assert logic
parent
e6516358
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
6c3e915c
...
...
@@ -602,7 +602,7 @@ UTF8StringNormalize(
assert
(
*
newval
->
bv_val
);
assert
(
newval
->
bv_val
<
p
);
assert
(
p
>
=
q
);
assert
(
q
<
=
p
);
/* cannot start with a space */
assert
(
!
ldap_utf8_isspace
(
newval
->
bv_val
)
);
...
...
@@ -1950,7 +1950,7 @@ IA5StringNormalize(
assert
(
*
newval
->
bv_val
);
assert
(
newval
->
bv_val
<
p
);
assert
(
p
<=
q
);
assert
(
q
<=
p
);
/* cannot start with a space */
assert
(
!
ASCII_SPACE
(
*
newval
->
bv_val
)
);
...
...
Write
Preview
Markdown
is supported
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