зеркало из https://github.com/mozilla/pjs.git
Removing dos newlines (^M) to fix irix bustage
This commit is contained in:
Родитель
7866e35ffe
Коммит
9e59b13c03
|
@ -3466,17 +3466,17 @@ nsImapService::GetListOfFoldersWithPath(nsIImapIncomingServer *aServer, nsIMsgWi
|
|||
|
||||
rv = pEventQService->GetThreadEventQueue(NS_CURRENT_THREAD, getter_AddRefs(queue));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// Locate the folder so that the correct hierarchical delimiter is used in the folder
|
||||
// pathnames, otherwise root's (ie, '^') is used and this is wrong.
|
||||
nsCOMPtr<nsIMsgFolder> msgFolder;
|
||||
nsCOMPtr<nsIFolder> subFolder;
|
||||
if (rootMsgFolder && folderPath && (*folderPath))
|
||||
{
|
||||
rv = rootMsgFolder->FindSubFolder(folderPath, getter_AddRefs(subFolder));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
msgFolder = do_QueryInterface(subFolder);
|
||||
}
|
||||
|
||||
// Locate the folder so that the correct hierarchical delimiter is used in the folder
|
||||
// pathnames, otherwise root's (ie, '^') is used and this is wrong.
|
||||
nsCOMPtr<nsIMsgFolder> msgFolder;
|
||||
nsCOMPtr<nsIFolder> subFolder;
|
||||
if (rootMsgFolder && folderPath && (*folderPath))
|
||||
{
|
||||
rv = rootMsgFolder->FindSubFolder(folderPath, getter_AddRefs(subFolder));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
msgFolder = do_QueryInterface(subFolder);
|
||||
}
|
||||
|
||||
rv = DiscoverChildren(queue, msgFolder, listener, folderPath, nsnull);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче