fixes bug 280731 "nsIProtocolProxyService::NewProxyInfo is broken" r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@168695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net
2005-02-02 06:34:29 +00:00
parent 279a61eea6
commit 9ea9b2da0b

View File

@@ -855,7 +855,7 @@ nsProtocolProxyService::NewProxyInfo(const nsACString &aType,
// proxy info instance. we just reference the string literals directly :)
const char *type = nsnull;
for (PRUint32 i=0; i<NS_ARRAY_LENGTH(types); ++i) {
if (aType.LowerCaseEqualsASCII(types[i]) == 0) {
if (aType.LowerCaseEqualsASCII(types[i])) {
type = types[i];
break;
}