for (hp = hentry, hnum = 0; hp->name != NULL;
hp++, hnum++) {
- if (!g_strncasecmp(hp->name, buf,
+ if (!g_ascii_strncasecmp(hp->name, buf,
strlen(hp->name)))
break;
}
if (len1 != len2)
return 0;
- return (g_strncasecmp(hdr1, hdr2, len1) == 0);
+ return (g_ascii_strncasecmp(hdr1, hdr2, len1) == 0);
}
/*
}
break;
case H_CONTENT_TYPE:
- if (!g_strncasecmp(hp, "multipart/", 10))
+ if (!g_ascii_strncasecmp(hp, "multipart/", 10))
MSG_SET_TMP_FLAGS(msginfo->flags, MSG_MULTIPART);
break;
#ifdef ALLOW_HEADER_HINT
month[3] = '\0';
for (p = monthstr; *p != '\0'; p += 3) {
- if (!g_strncasecmp(p, month, 3)) {
+ if (!g_ascii_strncasecmp(p, month, 3)) {
dmonth = (gint)(p - monthstr) / 3 + 1;
break;
}