First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems
[samba.git] / source3 / client / clitar.c
index a5de8ebafe58720ddc21ce736c0ff93f7bd944dc..3fff081ca0262e092c316581fd90f5ff755efa95 100644 (file)
@@ -473,7 +473,7 @@ static int strslashcmp(char *s1, char *s2)
 {
        char *s1_0=s1;
 
-       while(*s1 && *s2 && (*s1 == *s2 || tolower_ascii(*s1) == tolower_ascii(*s2) ||
+       while(*s1 && *s2 && (*s1 == *s2 || tolower_m(*s1) == tolower_m(*s2) ||
                                (*s1 == '\\' && *s2=='/') || (*s1 == '/' && *s2=='\\'))) {
                s1++; s2++;
        }