зеркало из https://github.com/mozilla/pjs.git
fix linux bustage
This commit is contained in:
Родитель
24f4f907cd
Коммит
f3609689a9
|
@ -423,7 +423,8 @@ nsresult nsMsgFilter::ConvertMoveToFolderValue(nsCString &moveValue)
|
|||
nsCOMPtr <nsIMsgFolder> destIMsgFolder;
|
||||
nsCOMPtr <nsIMsgFolder> localMailRootMsgFolder = do_QueryInterface(localMailRoot);
|
||||
localMailRoot->GetURI(getter_Copies(localRootURI));
|
||||
nsCString destFolderUri = localRootURI;
|
||||
nsCString destFolderUri;
|
||||
destFolderUri.Assign( localRootURI);
|
||||
// need to remove ".sbd" from moveValue, and perhaps escape it.
|
||||
moveValue.ReplaceSubstring(".sbd/", "/");
|
||||
destFolderUri.Append('/');
|
||||
|
|
|
@ -1258,7 +1258,10 @@ NS_IMPL_ISUPPORTS1(nsMsgSearchScopeTerm, nsIMsgSearchScopeTerm)
|
|||
NS_IMETHODIMP
|
||||
nsMsgSearchScopeTerm::GetFileStream(nsIInputStream** aResult)
|
||||
{
|
||||
*aResult = (m_fileStream) ? m_fileStream->GetIStream() : nsnull;
|
||||
if (m_fileStream)
|
||||
*aResult =m_fileStream->GetIStream();
|
||||
else
|
||||
*aResult = nsnull;
|
||||
NS_IF_ADDREF(*aResult);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче