зеркало из https://github.com/mozilla/pjs.git
Changed check for non-zero nsXPIDLCString from a dereference, which gcc 2.7.2.3 on speedracer doesn't seem to like, to a PL_strlen().
This commit is contained in:
Родитель
3ab4622e1d
Коммит
41b30280a0
|
@ -138,11 +138,11 @@ NS_IMETHODIMP nsImapIncomingServer::SetKey(const char * aKey) // override nsMsg
|
|||
hostSession->SetNamespaceFromPrefForHost(aKey, personalNamespace,
|
||||
kPersonalNamespace);
|
||||
|
||||
if (publicNamespace && *publicNamespace)
|
||||
if (publicNamespace && PL_strlen(publicNamespace))
|
||||
hostSession->SetNamespaceFromPrefForHost(aKey, publicNamespace,
|
||||
kPublicNamespace);
|
||||
|
||||
if (otherUsersNamespace && *otherUsersNamespace)
|
||||
if (otherUsersNamespace && PL_strlen(otherUsersNamespace))
|
||||
hostSession->SetNamespaceFromPrefForHost(aKey, otherUsersNamespace,
|
||||
kOtherUsersNamespace);
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче