From: Ben Collins Date: Wed, 3 Jan 2001 21:38:32 +0000 (+0000) Subject: s/UTF8_CHARLEN/LDAP_UTF8_CHARLEN/ X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1610 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4391e6654a536e2c397c1f9a3768dcccca4e9677;p=openldap s/UTF8_CHARLEN/LDAP_UTF8_CHARLEN/ --- diff --git a/libraries/libldap/utf-8-conv.c b/libraries/libldap/utf-8-conv.c index 04a464a795..8050315588 100644 --- a/libraries/libldap/utf-8-conv.c +++ b/libraries/libldap/utf-8-conv.c @@ -85,7 +85,7 @@ ldap_x_utf8_to_wc ( wchar_t *wchar, const char *utf8char ) 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 */ @@ -130,7 +130,7 @@ ldap_x_utf8s_to_wcs ( wchar_t *wcstr, const char *utf8str, size_t count ) while ( *utf8str && (wcstr==NULL || wclen LDAP_MAX_UTF8_LEN ) return -1; /* Invalid input */