utf8char = "";
/* Get UTF-8 sequence length from 1st byte */
- utflen = UTF8_CHARLEN(utf8char);
+ utflen = LDAP_UTF8_CHARLEN(utf8char);
if( utflen==0 || utflen > LDAP_MAX_UTF8_LEN )
return -1; /* Invalid input */
while ( *utf8str && (wcstr==NULL || wclen<count) )
{
/* Get UTF-8 sequence length from 1st byte */
- utflen = UTF8_CHARLEN(utf8str);
+ utflen = LDAP_UTF8_CHARLEN(utf8str);
if( utflen==0 || utflen > LDAP_MAX_UTF8_LEN )
return -1; /* Invalid input */