mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
trivial errors-as-warnings fix for gcc4.3.
This commit is contained in:
parent
7e71b36cf5
commit
4baaa33438
@ -1045,7 +1045,7 @@ nsCookieService::ImportCookies(nsIFile *aCookieFile)
|
||||
const nsASingleFragmentCString &host = Substring(buffer, hostIndex, isDomainIndex - hostIndex - 1);
|
||||
// check for bad legacy cookies (domain not starting with a dot, or containing a port),
|
||||
// and discard
|
||||
if (isDomain && !host.IsEmpty() && host.First() != '.' ||
|
||||
if ((isDomain && !host.IsEmpty() && host.First() != '.') ||
|
||||
host.FindChar(':') != kNotFound) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user