mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
Revert "ITS#9828 Fix ldap_count_values_len pointer confusion"
This reverts commit 7e7fad5e03.
This commit is contained in:
parent
6657caaad8
commit
1c197bbef9
1 changed files with 1 additions and 9 deletions
|
|
@ -159,15 +159,7 @@ ldap_count_values( char **vals )
|
|||
int
|
||||
ldap_count_values_len( struct berval **vals )
|
||||
{
|
||||
int i;
|
||||
|
||||
if ( vals == NULL )
|
||||
return 0;
|
||||
|
||||
for ( i = 0; !BER_BVISNULL( vals[i] ); i++ )
|
||||
; /* NULL */
|
||||
|
||||
return i;
|
||||
return( ldap_count_values( (char **) vals ) );
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue