mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
fix logic and add a cast to fix #12435
This commit is contained in:
parent
814536828f
commit
767d06c436
@ -288,7 +288,7 @@ NS_IMETHODIMP nsNntpUrl::GetMessageHeader(nsIMsgDBHdr ** aMsgHdr)
|
||||
|
||||
nsCString newsgroupURI(kNewsMessageRootURI);
|
||||
newsgroupURI.Append("/");
|
||||
if (userName || (userName != "")) {
|
||||
if (userName && (userName != (const char *)"")) {
|
||||
newsgroupURI.Append(userName);
|
||||
newsgroupURI.Append("@");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user