Commit 52402fa7 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix register_syntax argument names

parent 99c88eac
......@@ -641,8 +641,8 @@ LDAP_SLAPD_F (int) register_syntax LDAP_P((
char *desc,
unsigned flags,
slap_syntax_validate_func *validate,
slap_syntax_transform_func *ber2str,
slap_syntax_transform_func *str2ber ));
slap_syntax_transform_func *normalize,
slap_syntax_transform_func *pretty ));
LDAP_SLAPD_F (int) register_matching_rule LDAP_P((
char * desc,
......
......@@ -141,8 +141,8 @@ register_syntax(
char * desc,
unsigned flags,
slap_syntax_validate_func *validate,
slap_syntax_transform_func *ber2str,
slap_syntax_transform_func *str2ber )
slap_syntax_transform_func *normalize,
slap_syntax_transform_func *pretty )
{
LDAPSyntax *syn;
int code;
......@@ -155,7 +155,7 @@ register_syntax(
return( -1 );
}
code = syn_add( syn, flags, validate, ber2str, str2ber, &err );
code = syn_add( syn, flags, validate, normalize, pretty, &err );
ldap_memfree( syn );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment