back out my checkin since the tree is closed.

This commit is contained in:
scott%scott-macgregor.org 2006-11-08 07:25:52 +00:00
Родитель e696aaa984
Коммит e2cb37921f
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -206,6 +206,8 @@ nsresult nsMsgOfflineManager::SynchronizeOfflineImapChanges()
nsresult nsMsgOfflineManager::SendUnsentMessages() nsresult nsMsgOfflineManager::SendUnsentMessages()
{ {
nsresult rv; nsresult rv;
ShowStatus("sendingUnsent");
nsCOMPtr<nsIMsgSendLater> pMsgSendLater = do_CreateInstance(kMsgSendLaterCID, &rv); nsCOMPtr<nsIMsgSendLater> pMsgSendLater = do_CreateInstance(kMsgSendLaterCID, &rv);
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIMsgAccountManager> accountManager = nsCOMPtr<nsIMsgAccountManager> accountManager =
@ -255,8 +257,7 @@ nsresult nsMsgOfflineManager::SendUnsentMessages()
{ {
pMsgSendLater->AddListener(this); pMsgSendLater->AddListener(this);
pMsgSendLater->SetMsgWindow(m_window); pMsgSendLater->SetMsgWindow(m_window);
rv = pMsgSendLater->SendUnsentMessages(identityToUse); rv = pMsgSendLater->SendUnsentMessages(identityToUse);
ShowStatus("sendingUnsent");
// if we succeeded, return - we'll run the next operation when the // if we succeeded, return - we'll run the next operation when the
// send finishes. Otherwise, advance to the next state. // send finishes. Otherwise, advance to the next state.
if (NS_SUCCEEDED(rv)) if (NS_SUCCEEDED(rv))