diff --git a/mozilla/mailnews/imap/src/nsImapMailFolder.cpp b/mozilla/mailnews/imap/src/nsImapMailFolder.cpp index 26765244023..547cb9eadc4 100644 --- a/mozilla/mailnews/imap/src/nsImapMailFolder.cpp +++ b/mozilla/mailnews/imap/src/nsImapMailFolder.cpp @@ -3961,8 +3961,8 @@ nsImapMailFolder::BeginMessageUpload() // synchronize the message flags in the database with the server flags nsresult nsImapMailFolder::SyncFlags(nsIImapFlagAndUidState *flagState) -{ - nsresult rv = GetDatabase(nsnull); // we need a database for this +{ + nsresult rv = GetDatabase(nsnull); // we need a database for this NS_ENSURE_SUCCESS(rv, rv); // update all of the database flags PRInt32 messageIndex;