This commit is contained in:
bienvenu%netscape.com 2000-06-03 22:33:24 +00:00
Родитель 24f4f907cd
Коммит f3609689a9
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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;
}