зеркало из https://github.com/mozilla/pjs.git
fix for #17187 - return NS_RDF_NO_VALUE when any particular GetTarget() calls fail
r=bienvenu
This commit is contained in:
Родитель
5cab73837a
Коммит
29be468ffd
|
@ -804,7 +804,8 @@ nsresult nsMsgFolderDataSource::createFolderNode(nsIMsgFolder* folder,
|
|||
rv = createFolderChildNode(folder, target);
|
||||
else if ((kNC_MessageChild == property))
|
||||
rv = createFolderMessageNode(folder, target);
|
||||
|
||||
|
||||
if (NS_FAILED(rv)) return NS_RDF_NO_VALUE;
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
@ -874,6 +875,7 @@ nsMsgFolderDataSource::createFolderServerTypeNode(nsIMsgFolder* folder,
|
|||
|
||||
nsXPIDLCString serverType;
|
||||
rv = server->GetType(getter_Copies(serverType));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
createNode(serverType, target, getRDFService());
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче