s3-lib Replace StrCaseCmp() with strcasecmp_m()
[ira/wip.git] / source3 / libads / ldap.c
index 893e1411f0b07ce23bbbef9656366bf86d346596..19cb3ad2d61f57e341742a46428d0690268edcb4 100644 (file)
@@ -2228,7 +2228,7 @@ static bool ads_dump_field(ADS_STRUCT *ads, char *field, void **values, void *da
        }
 
        for (i=0; handlers[i].name; i++) {
-               if (StrCaseCmp(handlers[i].name, field) == 0) {
+               if (strcasecmp_m(handlers[i].name, field) == 0) {
                        if (!values) /* first time, indicate string or not */
                                return handlers[i].string;
                        handlers[i].handler(ads, field, (struct berval **) values);