diff --git a/mozilla/mailnews/news/src/nsNewsFolder.cpp b/mozilla/mailnews/news/src/nsNewsFolder.cpp index 21f2e311ec9..b7c9fab1ba1 100644 --- a/mozilla/mailnews/news/src/nsNewsFolder.cpp +++ b/mozilla/mailnews/news/src/nsNewsFolder.cpp @@ -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); }