Searched refs:typeAsLowerCaseString (Results 1 – 1 of 1) sorted by relevance
363 char typeAsLowerCaseString[B_MIME_TYPE_LENGTH]; in MIMEType() local395 strcpy(typeAsLowerCaseString, "text/plain"); // Hope this is an OK default. in MIMEType()400 for (i = 0; i < sizeof(typeAsLowerCaseString) - 1 in MIMEType()402 typeAsLowerCaseString[i] = tolower(typeAsString[i]); in MIMEType()403 typeAsLowerCaseString[i] = 0; in MIMEType()407 if (strcmp(typeAsLowerCaseString, "text") == 0) in MIMEType()408 strcpy(typeAsLowerCaseString, "text/plain"); in MIMEType()410 mime->SetTo(typeAsLowerCaseString); in MIMEType()