fix for 17454

changed strncmp to PL_strncasecmp


git-svn-id: svn://10.0.0.236/trunk@52405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com
1999-11-01 20:04:57 +00:00
parent e885439545
commit 307fe1df58

View File

@@ -160,7 +160,7 @@ int Pluglet::Compare(const char *mimeType) {
char *p2 = strchr(p1,';');
while ( p1 != NULL && p1 < terminator ) {
size_t n = sizeof(char) * ( ( (p2 == NULL) ? terminator : p2) - p1 );
if (strncmp(p1,mimeType,n) == 0) {
if (PL_strncasecmp(p1,mimeType,n) == 0) {
return 1;
}
p1 = p2 ;