]> git.sur5r.net Git - openldap/commitdiff
s/UTF8_CHARLEN/LDAP_UTF8_CHARLEN/
authorBen Collins <bcollins@openldap.org>
Wed, 3 Jan 2001 21:38:32 +0000 (21:38 +0000)
committerBen Collins <bcollins@openldap.org>
Wed, 3 Jan 2001 21:38:32 +0000 (21:38 +0000)
libraries/libldap/utf-8-conv.c

index 04a464a7950cfbc6dbf364c15196c7e0790f49fb..80503155882f9235025e3cf2bdd4fdb227c0d212 100644 (file)
@@ -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<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 */