зеркало из https://github.com/mozilla/gecko-dev.git
More IRIX CRLF bustage
This commit is contained in:
Родитель
d801288b4d
Коммит
344819b9a0
|
@ -428,11 +428,11 @@ nsMsgNewsFolder::UpdateFolder(nsIMsgWindow *aWindow)
|
|||
if (NS_SUCCEEDED(rv))
|
||||
rv = mDatabase->ApplyRetentionSettings(retentionSettings);
|
||||
}
|
||||
rv = AutoCompact(aWindow);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
// GetNewMessages has to be the last rv set before we get to the next check, so
|
||||
// that we'll have rv set to NS_MSG_ERROR_OFFLINE when offline and send
|
||||
// a folder loaded notification to the front end.
|
||||
rv = AutoCompact(aWindow);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
// GetNewMessages has to be the last rv set before we get to the next check, so
|
||||
// that we'll have rv set to NS_MSG_ERROR_OFFLINE when offline and send
|
||||
// a folder loaded notification to the front end.
|
||||
rv = GetNewMessages(aWindow, nsnull);
|
||||
}
|
||||
if (rv == NS_MSG_ERROR_OFFLINE)
|
||||
|
@ -1023,7 +1023,7 @@ nsMsgNewsFolder::DeleteMessages(nsISupportsArray *messages, nsIMsgWindow *aMsgWi
|
|||
}
|
||||
|
||||
NS_IMETHODIMP nsMsgNewsFolder::GetNewMessages(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener)
|
||||
{
|
||||
{
|
||||
NS_ASSERTION(aListener == nsnull, "news can't currently listen for this finishing");
|
||||
return GetNewsMessages(aMsgWindow, PR_FALSE);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче