зеркало из https://github.com/mozilla/gecko-dev.git
fix logic and add a cast to fix #12435
This commit is contained in:
Родитель
814536828f
Коммит
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("@");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче