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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user