mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 11:13:29 +00:00
fix hang doing imap sync r+sr=sspitzer, 79764
This commit is contained in:
parent
212b9c9a14
commit
ee741c5aee
@ -173,15 +173,16 @@ nsresult nsImapOfflineSync::AdvanceToNextFolder()
|
||||
|
||||
void nsImapOfflineSync::AdvanceToFirstIMAPFolder()
|
||||
{
|
||||
nsresult rv;
|
||||
m_currentServer = nsnull;
|
||||
nsresult rv = AdvanceToNextFolder();
|
||||
nsCOMPtr <nsIMsgImapMailFolder> imapFolder;
|
||||
do
|
||||
{
|
||||
rv = AdvanceToNextFolder();
|
||||
if (m_currentFolder)
|
||||
imapFolder = do_QueryInterface(m_currentFolder);
|
||||
}
|
||||
while (m_currentFolder && !imapFolder);
|
||||
while (NS_SUCCEEDED(rv) && m_currentFolder && !imapFolder);
|
||||
}
|
||||
|
||||
void nsImapOfflineSync::ProcessFlagOperation(nsIMsgOfflineImapOperation *currentOp)
|
||||
|
Loading…
Reference in New Issue
Block a user