version 1.31, 2003/02/27 00:54:43
|
version 1.32, 2003/04/05 01:35:16
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.30 2003/01/03 19:20:54 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.31 2003/02/27 00:54:43 kurt Exp $ */ |
/* |
/* |
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. |
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
Line 63 get_ava(
|
Line 63 get_ava(
|
return rc; |
return rc; |
} |
} |
|
|
#ifdef SLAP_NVALUES |
|
rc = asserted_value_validate_normalize( |
rc = asserted_value_validate_normalize( |
aa->aa_desc, ad_mr(aa->aa_desc, usage), |
aa->aa_desc, ad_mr(aa->aa_desc, usage), |
usage, &value, &aa->aa_value, text ); |
usage, &value, &aa->aa_value, text ); |
#else |
|
rc = value_validate_normalize( aa->aa_desc, usage, |
|
&value, &aa->aa_value, text ); |
|
#endif |
|
|
|
if( rc != LDAP_SUCCESS ) { |
if( rc != LDAP_SUCCESS ) { |
ch_free( aa ); |
ch_free( aa ); |