Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
1543d3b9
Commit
1543d3b9
authored
May 13, 2004
by
Pierangelo Masarati
Browse files
fix previous commit :)
parent
3b38676d
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
1543d3b9
...
...
@@ -873,8 +873,8 @@ uniqueMemberNormalize(
assert
(
SLAP_MR_IS_VALUE_OF_SYNTAX
(
usage
));
ber_dupbv
(
&
out
,
val
);
if
(
BER_BVISEMPTY
(
&
out
)
)
{
ber_dupbv
_x
(
&
out
,
val
,
ctx
);
if
(
BER_BVISEMPTY
(
&
out
)
)
{
*
normalized
=
out
;
}
else
{
...
...
@@ -901,7 +901,7 @@ uniqueMemberNormalize(
rc
=
dnNormalize
(
0
,
NULL
,
NULL
,
&
out
,
normalized
,
ctx
);
if
(
rc
!=
LDAP_SUCCESS
)
{
free
(
out
.
bv_val
);
slap_sl_
free
(
out
.
bv_val
,
ctx
);
return
LDAP_INVALID_SYNTAX
;
}
...
...
@@ -921,7 +921,7 @@ uniqueMemberNormalize(
normalized
->
bv_val
[
normalized
->
bv_len
]
=
'\0'
;
}
free
(
out
.
bv_val
);
slap_sl_
free
(
out
.
bv_val
,
ctx
);
}
return
LDAP_SUCCESS
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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