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