Revert "ITS#9828 Fix ldap_count_values_len pointer confusion"

This reverts commit 7e7fad5e03.
This commit is contained in:
Howard Chu 2022-04-25 17:26:37 +01:00
parent 6657caaad8
commit 1c197bbef9

View file

@ -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