mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Fix ambiguity that was busting --pedantic.
This commit is contained in:
parent
5469ae0334
commit
79d165f38c
@ -172,7 +172,7 @@ nsMultiMixedConv::OnDataAvailable(nsIChannel *channel, nsISupports *ctxt,
|
||||
nsCString headerVal(colon + 1);
|
||||
headerVal.StripWhitespace();
|
||||
|
||||
if (headerStr == "content-type") {
|
||||
if (headerStr.Equals("content-type")) {
|
||||
contentTypeStr = headerVal;
|
||||
NS_RELEASE(header);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user