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
Joe Martin
OpenLDAP
Commits
5b218a7c
Commit
5b218a7c
authored
Jul 09, 1999
by
Julio Sánchez Fernández
Browse files
Defer normalization of attribute types and values to later stages
instead of in get_ava.
parent
ac6fcaa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/ava.c
View file @
5b218a7c
...
...
@@ -18,12 +18,10 @@ get_ava(
if
(
ber_scanf
(
ber
,
"{ao}"
,
&
ava
->
ava_type
,
&
ava
->
ava_value
)
==
LBER_ERROR
)
{
Debug
(
LDAP_DEBUG_ANY
,
" get_ava ber_scanf
\n
"
,
0
,
0
,
0
);
return
(
-
1
);
return
(
LDAP_PROTOCOL_ERROR
);
}
attr_normalize
(
ava
->
ava_type
);
value_normalize
(
ava
->
ava_value
.
bv_val
,
attr_syntax
(
ava
->
ava_type
)
);
return
(
LDAP_SUCCESS
);
return
(
0
);
}
void
...
...
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